summaryrefslogtreecommitdiff
path: root/games/springlobby/files/patch-tools-regen__config__header.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/springlobby/files/patch-tools-regen__config__header.sh')
-rw-r--r--games/springlobby/files/patch-tools-regen__config__header.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/games/springlobby/files/patch-tools-regen__config__header.sh b/games/springlobby/files/patch-tools-regen__config__header.sh
new file mode 100644
index 000000000000..3893d72c7a62
--- /dev/null
+++ b/games/springlobby/files/patch-tools-regen__config__header.sh
@@ -0,0 +1,16 @@
+--- tools/regen_config_header.sh.orig 2011-04-25 01:48:12.000000000 +0400
++++ tools/regen_config_header.sh 2011-05-05 12:03:25.000000000 +0400
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env bash
++#!/bin/sh
+
+ #regen on bbot releases would screw with version
+ if [ "x${BUILDBOT_RELEASE}" != "x" ] ; then
+@@ -14,6 +14,7 @@
+ REV_TEMPLATE="@SPRINGLOBBY_REV@"
+
+ #don't fail if no .git
++exit 0
+ git branch &> /dev/null || exit 0
+
+ REV="$(git describe --tags)"