OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.7 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../mess822/head_n.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- T2-COPYRIGHT-NOTE-END ---
  16. --- ./Makefile.orig 2005-03-13 23:48:56.000000000 -0400
  17. +++ ./Makefile 2005-03-13 23:49:32.000000000 -0400
  18. @@ -108,8 +108,8 @@
  19. auto-ccld.sh: \
  20. conf-cc conf-ld warn-auto.sh
  21. ( cat warn-auto.sh; \
  22. - echo CC=\'`head -1 conf-cc`\'; \
  23. - echo LD=\'`head -1 conf-ld`\' \
  24. + echo CC=\'`head -n 1 conf-cc`\'; \
  25. + echo LD=\'`head -n 1 conf-ld`\' \
  26. ) > auto-ccld.sh
  27. auto-str: \
  28. @@ -122,7 +122,7 @@
  29. auto_home.c: \
  30. auto-str conf-home
  31. - ./auto-str auto_home `head -1 conf-home` > auto_home.c
  32. + ./auto-str auto_home `head -n 1 conf-home` > auto_home.c
  33. auto_home.o: \
  34. compile auto_home.c
  35. @@ -130,7 +130,7 @@
  36. auto_qmail.c: \
  37. auto-str conf-qmail
  38. - ./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c
  39. + ./auto-str auto_qmail `head -n 1 conf-qmail` > auto_qmail.c
  40. auto_qmail.o: \
  41. compile auto_qmail.c
  42. @@ -637,7 +637,7 @@
  43. rts: \
  44. warn-auto.sh rts.sh conf-home
  45. cat warn-auto.sh rts.sh \
  46. - | sed s}HOME}"`head -1 conf-home`"}g \
  47. + | sed s}HOME}"`head -n 1 conf-home`"}g \
  48. > rts
  49. chmod 755 rts