summaryrefslogtreecommitdiffstats
path: root/abs/extra/usbmuxd/usbmuxd-describe.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/usbmuxd/usbmuxd-describe.patch')
-rw-r--r--abs/extra/usbmuxd/usbmuxd-describe.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/abs/extra/usbmuxd/usbmuxd-describe.patch b/abs/extra/usbmuxd/usbmuxd-describe.patch
new file mode 100644
index 0000000..3023235
--- /dev/null
+++ b/abs/extra/usbmuxd/usbmuxd-describe.patch
@@ -0,0 +1,20 @@
+--- usbmuxd-1.0.7/Modules/describe.sh.orig 2012-04-07 22:37:03.218203610 +0000
++++ usbmuxd-1.0.7/Modules/describe.sh 2012-04-07 22:37:22.979010437 +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
+- /bin/echo -n `git describe`
+-
+- # Are there uncommitted changes?
+- git update-index --refresh --unmerged > /dev/null
+- git diff-index --quiet HEAD || /bin/echo -n -dirty
+-else
+ # Check for version tag
+ if [ -e version.tag ]; then
+ /bin/echo -n `cat version.tag`
+ fi
+-fi
+
+ echo