summaryrefslogtreecommitdiff
path: root/games/springlobby/files/patch-tools-regen__config__header.sh
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-07-12 15:01:45 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-07-12 15:01:45 +0000
commitdaffe00d4a57c0ef6a21947a8121b8d233d8d3a5 (patch)
tree713942325bda393305edb21d46cd7f38d213aebc /games/springlobby/files/patch-tools-regen__config__header.sh
parent- Update to 20110724.002 (diff)
- Trim Makefile headers
- Drop ABI versions from LIB_DEPENDS - OptionsNG - Pet portlint - Switch to dynamic plist where useful - Canonicalize patch names - Fix DOS line endings in patch files
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)"