build-sys: use sed to substitute
Travis CI: tools/git-version-gen: 116: tools/git-version-gen: Bad substitution Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
85004b142a
commit
e1a0fd98cd
|
@ -113,7 +113,7 @@ elif test "`git log -1 --pretty=format:x . 2>&1`" = x \
|
||||||
then
|
then
|
||||||
|
|
||||||
# Remove the "g" in git describe's output string, to save a byte.
|
# Remove the "g" in git describe's output string, to save a byte.
|
||||||
v=${v/-g/-}
|
v=`echo "$v" | sed 's/-g/-/'`;
|
||||||
|
|
||||||
case $v in
|
case $v in
|
||||||
*-rc*)
|
*-rc*)
|
||||||
|
|
Loading…
Reference in New Issue