core/usbmuxd/usbmuxd-soname.patch
2010-09-07 21:46:28 +00:00

23 lines
601 B
Diff

--- usbmuxd-1.0.4/Modules/describe.sh.orig 2010-07-11 01:38:29.642866097 +0000
+++ usbmuxd-1.0.4/Modules/describe.sh 2010-07-11 01:35:34.972896129 +0000
@@ -1,17 +1,8 @@
#!/bin/bash
-# Check for git and a git repo.
-if head=`git rev-parse --verify HEAD 2>/dev/null`; then
- echo -n `git describe`
-
- # Are there uncommitted changes?
- git update-index --refresh --unmerged > /dev/null
- git diff-index --quiet HEAD || echo -n -dirty
-else
# Check for version tag
- if [ -e version.tag ]; then
- echo -n `cat version.tag`
- fi
+if [ -e version.tag ]; then
+ echo -n `cat version.tag`
fi
echo