We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fec0c1 commit feeece3Copy full SHA for feeece3
1 file changed
build/macosx/dist.sh
@@ -1,8 +1,14 @@
1
#!/bin/sh
2
3
-#REVISION=`head -c 4 ../../todo.txt`
4
-# 'head' for osx doesn't support -c.. what a pisser
5
-REVISION=0000
+
+if test -f /sw/bin/head
+then
6
+ # a more useful version of head than what's included with osx
7
+ REVISION=`head -c 4 ../../todo.txt`
8
+else
9
+ # can't get four bytes of head (osx doesn't support -c)
10
+ REVISION=0000
11
+fi
12
13
./make.sh
14
0 commit comments