summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGravatar John Maguire2010-09-19 15:55:31 +0200
committerGravatar Hector Martin2010-09-19 15:55:31 +0200
commitbbaa8380a2af9130075f907033283761bfe56b5c (patch)
tree4474448b9b074e4e82e42c09fae5de6c887f1abe /Modules
parentf8a406e4f4b2627baf37cb2c20e327bc5e62ca87 (diff)
downloadusbmuxd-bbaa8380a2af9130075f907033283761bfe56b5c.tar.gz
usbmuxd-bbaa8380a2af9130075f907033283761bfe56b5c.tar.bz2
Fixes for building libusbmuxd on OS X
Adds include_directories(${OPT_INCLUDES}) for when libplist isn't in the default include directories. Uses /bin/echo instead of sh's echo as "echo -n" does not work on OS X's sh.
Diffstat (limited to 'Modules')
-rwxr-xr-xModules/describe.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/describe.sh b/Modules/describe.sh
index 91730b8..6425ed5 100755
--- a/Modules/describe.sh
+++ b/Modules/describe.sh
@@ -2,15 +2,15 @@
# Check for git and a git repo.
if head=`git rev-parse --verify HEAD 2>/dev/null`; then
- echo -n `git describe`
+ /bin/echo -n `git describe`
# Are there uncommitted changes?
git update-index --refresh --unmerged > /dev/null
- git diff-index --quiet HEAD || echo -n -dirty
+ git diff-index --quiet HEAD || /bin/echo -n -dirty
else
# Check for version tag
if [ -e version.tag ]; then
- echo -n `cat version.tag`
+ /bin/echo -n `cat version.tag`
fi
fi