--- ucspi-unix-0.36/Makefile.orig 2003-12-26 18:50:34.000000000 -0500 +++ ucspi-unix-0.36/Makefile 2003-12-26 18:50:56.000000000 -0500 @@ -18,18 +18,18 @@ ( echo '#!/bin/sh'; \ echo 'source=$$1; shift'; \ echo 'base=`echo "$$source" | sed -e s:\\\\.c$$::`'; \ - echo exec `head -1 conf-cc` '-I. -o $${base}.o -c $$source $${1+"$$@"}'; \ + echo exec `head -n 1 conf-cc` '-I. -o $${base}.o -c $$source $${1+"$$@"}'; \ ) >compile chmod 755 compile conf_bin.c: conf-bin - head -1 conf-bin | \ + head -n 1 conf-bin | \ sed -e 's/"/\\"/g' \ -e 's/^/const char conf_bin[] = "/' \ -e 's/$$/";/' >conf_bin.c conf_man.c: conf-man - head -1 conf-man | \ + head -n 1 conf-man | \ sed -e 's/"/\\"/g' \ -e 's/^/const char conf_man[] = "/' \ -e 's/$$/";/' >conf_man.c @@ -55,7 +55,7 @@ load: conf-ld ( echo '#!/bin/sh';\ echo 'main="$$1"; shift';\ - echo exec `head -1 conf-ld` '-o "$$main" "$$main.o" $${1+"$$@"}' -lsysdeps;\ + echo exec `head -n 1 conf-ld` '-o "$$main" "$$main.o" $${1+"$$@"}' -lsysdeps;\ ) >load chmod 755 load