Skip to content

Commit b0cd9bc

Browse files
committed
/bin/sh is sufficient here
1 parent 7c4a737 commit b0cd9bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/regen_config_header.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/sh
22

33
#regen on bbot releases would screw with version
44
if [ "x${BUILDBOT_RELEASE}" != "x" ] ; then
@@ -15,7 +15,7 @@ VERSIONFILE="${3}"
1515
REV_TEMPLATE="@SPRINGLOBBY_REV@"
1616

1717
#don't fail if no .git
18-
git branch &> /dev/null || exit 0
18+
git branch >/dev/null 2>&1 || exit 0
1919

2020
REV="$(git describe --tags)"
2121
OLDREV=""

0 commit comments

Comments
 (0)