From 3edeb29289fa980670b1c2e09c9d64fc3aebed60 Mon Sep 17 00:00:00 2001 From: benfry Date: Thu, 24 Jul 2003 22:45:04 +0000 Subject: [PATCH] tweaks to macos9 / macosx build scripts --- processing/build/macosx/dist.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/processing/build/macosx/dist.sh b/processing/build/macosx/dist.sh index 9efa80269..ad879b866 100755 --- a/processing/build/macosx/dist.sh +++ b/processing/build/macosx/dist.sh @@ -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