mirror of the now-defunct rocklinux.org
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.

44 lines
1.1 KiB

  1. --- ./build.orig 1992-10-28 12:10:53.000000000 +0100
  2. +++ ./build 2004-08-06 22:38:17.586220888 +0200
  3. @@ -1,4 +1,3 @@
  4. -:
  5. #!/bin/sh
  6. #
  7. version="4.2.4"
  8. @@ -19,6 +18,7 @@
  9. trap 'set +x ; exit 1' 1 2 15
  10. [ -f compress.def ] && . ./compress.def
  11. +x=1
  12. while true
  13. do
  14. @@ -70,7 +70,9 @@
  15. done
  16. ) >compress.def
  17. - read choice var1 var2 var3 var4 varr
  18. + read choice var1 var2 var3 var4 varr < /dev/null
  19. + if [ $x = 1 ]; then choice=genmake; x=2
  20. + else choice=q; fi
  21. echo ""
  22. else
  23. choice=D
  24. @@ -278,8 +280,6 @@
  25. [ -f /usr/include/sys/dir.h ] && { SYSDIR=yes; }
  26. [ -f /usr/include/dirent.h ] && { DIRENT=yes; }
  27. [ -f /usr/include/utime.h ] && { UTIME_H=yes; }
  28. - [ -d /usr/local/bin ] && { BINDIR=/usr/local/bin; }
  29. - [ -d /usr/local/man ] && { BINDIR=/usr/local/man/man1; }
  30. [ -f /usr/bin/compress ] && { BINDIR=/usr/bin; }
  31. if [ ".${CC}" = . ]
  32. @@ -790,7 +790,7 @@
  33. compress: Makefile compress42.c patchlevel.h
  34. - $(CC) -o compress $(options) "-DCOMPILE_DATE=\"\`date\`\"" compress42.c $(LBOPT)
  35. + \$(CC) -o compress \$(options) "-DCOMPILE_DATE=\\"\`date\`\\"" compress42.c \$(LBOPT)
  36. install: compress
  37. [ -f \$(BINDIR)/compress ] && \\