summaryrefslogtreecommitdiff
path: root/recipes/callweaver/files/bootstrap.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/callweaver/files/bootstrap.patch')
-rw-r--r--recipes/callweaver/files/bootstrap.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/callweaver/files/bootstrap.patch b/recipes/callweaver/files/bootstrap.patch
new file mode 100644
index 0000000000..b3a021cd8d
--- /dev/null
+++ b/recipes/callweaver/files/bootstrap.patch
@@ -0,0 +1,13 @@
+Index: callweaver-1.2-rc5/bootstrap.sh
+===================================================================
+--- callweaver-1.2-rc5.orig/bootstrap.sh 2008-01-18 10:47:41.000000000 +0100
++++ callweaver-1.2-rc5/bootstrap.sh 2008-01-18 10:48:02.000000000 +0100
+@@ -36,7 +36,7 @@
+ debug "Found $COMMAND"
+ fi
+
+- INS_VER=`$COMMAND --version | head -1 | sed 's/[^0-9]*//' | cut -d' ' -f1`
++ INS_VER=`$COMMAND --version | head -n 1 | sed 's/[^0-9]*//' | cut -d' ' -f1`
+ INS_MAJOR=`echo $INS_VER | cut -d. -f1 | sed s/[a-zA-Z\-].*//g`
+ INS_MINOR=`echo $INS_VER | cut -d. -f2 | sed s/[a-zA-Z\-].*//g`
+ INS_MICRO=`echo $INS_VER | cut -d. -f3 | sed s/[a-zA-Z\-].*//g`