aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-05-09 16:56:19 -0300
committerdequis <dx@dxzone.com.ar>2015-05-30 23:29:44 -0300
commit6e21525c241d5f70767463577392aac481d3b051 (patch)
tree35c29995494131a99c6f2868343828da7a7d303a
parent0f7eccff5b3f7436f50c66e4270009fa6290a578 (diff)
configure: workaround for branch names with slashes in them...
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index eb704843..f6e8b07e 100755
--- a/configure
+++ b/configure
@@ -81,7 +81,7 @@ get_version() {
search="(.+)-([0-9]+)-(g[0-9a-f]+)"
replace="\1+$timestamp+$branch+\2-\3-git"
- BITLBEE_VERSION=$(cd $srcdir; git describe --long --tags | sed -r "s/$search/$replace/")
+ BITLBEE_VERSION=$(cd $srcdir; git describe --long --tags | sed -r "s#$search#$replace#")
unset timestamp branch search replace
fi