We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c4a737 commit b0cd9bcCopy full SHA for b0cd9bc
tools/regen_config_header.sh
@@ -1,4 +1,4 @@
1
-#!/usr/bin/env bash
+#!/bin/sh
2
3
#regen on bbot releases would screw with version
4
if [ "x${BUILDBOT_RELEASE}" != "x" ] ; then
@@ -15,7 +15,7 @@ VERSIONFILE="${3}"
15
REV_TEMPLATE="@SPRINGLOBBY_REV@"
16
17
#don't fail if no .git
18
-git branch &> /dev/null || exit 0
+git branch >/dev/null 2>&1 || exit 0
19
20
REV="$(git describe --tags)"
21
OLDREV=""
0 commit comments