Skip to content

Commit f7b659c

Browse files
committed
silence spurious error message from configure when building outside the
git repo
1 parent c280310 commit f7b659c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ X11=yes
99
VER=`git describe --tags 2>/dev/null`
1010

1111
if [ -z "$VER" ]; then
12-
VER=`git rev-parse --short HEAD`
12+
VER=`git rev-parse --short HEAD 2>/dev/null`
1313
if [ -z "$VER" ]; then
1414
VER=v`pwd | grep 'libspnav-[0-9]\+\.' | sed 's/.*libspnav-\(\([0-9]\+\.\)\+[0-9]\+\).*$/\1/'`
1515
if [ $VER = v ]; then

0 commit comments

Comments
 (0)