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.

42 lines
1.7 KiB

  1. --- ./config.guess 2001-04-15 22:37:33.000000000 +0200
  2. +++ /tmp/tmp.kINzFP2545 2004-05-21 10:36:10.000000000 +0200
  3. @@ -314,7 +314,7 @@
  4. echo m68k-sun-sunos${UNAME_RELEASE}
  5. exit 0 ;;
  6. sun*:*:4.2BSD:*)
  7. - UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
  8. + UNAME_RELEASE=`(head -n 1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
  9. test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
  10. case "`/bin/arch`" in
  11. sun3)
  12. @@ -493,7 +493,7 @@
  13. fi
  14. exit 0 ;;
  15. *:AIX:*:[45])
  16. - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
  17. + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -n 1 | awk '{ print $1 }'`
  18. if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
  19. IBM_ARCH=rs6000
  20. else
  21. --- ./dselect/Makefile.in 2001-04-24 13:02:50.000000000 +0200
  22. +++ /tmp/tmp.SHaCDd2558 2004-05-21 10:36:11.000000000 +0200
  23. @@ -57,7 +57,7 @@
  24. curkeys.h: keyoverride $(srcdir)/mkcurkeys.pl
  25. cursesfile=`echo '#include <curses.h>' | \
  26. - $(CC) -E - | grep 'curses.h' | head -1 | \
  27. + $(CC) -E - | grep 'curses.h' | head -n 1 | \
  28. $(SED) -e 's/^[^"]*"//; s/".*$$//'`; \
  29. if [ "$$cursesfile" = "" ]; then echo "can't find curses file"; exit 1; fi; \
  30. perl $(srcdir)/mkcurkeys.pl $< $$cursesfile > $@
  31. --- ./methods/disk.setup 2000-12-24 09:41:48.000000000 +0100
  32. +++ /tmp/tmp.fKYzOF2566 2004-05-21 10:36:11.000000000 +0200
  33. @@ -422,7 +422,7 @@
  34. fi
  35. if ! ( find "$mountpoint$2/" -follow -name '*.deb' -print \
  36. - | head -1 ) 2>/dev/null | grep . >/dev/null
  37. + | head -n 1 ) 2>/dev/null | grep . >/dev/null
  38. then
  39. echo "\`$2' does not contain any *.deb packages. Hmmpf."
  40. return