
Now ./configure should be able to be correctly invoked from standard debian helper rules file
8 lines
242 B
Bash
Executable file
8 lines
242 B
Bash
Executable file
#!/bin/sh
|
|
revision=`cd "$1" && git describe --dirty --abbrev=5 2>/dev/null | sed -e 's/-/./g'`
|
|
|
|
if ! test $revision; then
|
|
test $revision || revision=`cd "$1" && git describe --abbrev=5 2>/dev/null | sed -e 's/-/./g'`
|
|
fi
|
|
|
|
echo $revision
|