tweaks to macos9 / macosx build scripts

This commit is contained in:
benfry
2003-07-24 22:45:04 +00:00
parent c65d45aacf
commit 3edeb29289

View File

@@ -1,8 +1,14 @@
#!/bin/sh
#REVISION=`head -c 4 ../../todo.txt`
# 'head' for osx doesn't support -c.. what a pisser
REVISION=0000
if test -f /sw/bin/head
then
# a more useful version of head than what's included with osx
REVISION=`head -c 4 ../../todo.txt`
else
# can't get four bytes of head (osx doesn't support -c)
REVISION=0000
fi
./make.sh