Skip to content

Commit

Permalink
/bin/sh is sufficient here
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Dec 10, 2013
1 parent 7c4a737 commit b0cd9bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/regen_config_header.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/sh

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

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

REV="$(git describe --tags)"
OLDREV=""
Expand Down

0 comments on commit b0cd9bc

Please sign in to comment.