ckolivas / lrzip

Long Range Zip
http://lrzip.kolivas.org
GNU General Public License v2.0
619 stars 76 forks source link

build broken due to new util/gitdesc.sh script #181

Closed SSSSeb closed 3 years ago

SSSSeb commented 3 years ago

Cloning into 'lrzip'... --> 1400a96274d STEP 5: RUN cd lrzip ; ./autogen.sh && ./configure --enable-static-bin && make Running autoreconf -if... ./util/gitdesc.sh: 50: Bad substitution ./util/gitdesc.sh: 50: Bad substitution /usr/bin/m4:configure.ac:8: bad expression in eval: + ./util/gitdesc.sh: 50: Bad substitution ./util/gitdesc.sh: 50: Bad substitution ./util/gitdesc.sh: 50: Bad substitution

SSSSeb commented 3 years ago

my platform is ubuntu 20 x86_64

SSSSeb commented 3 years ago

The following solves my issue.


root@ea83c26e5999:/lrzip# git diff
diff --git a/util/gitdesc.sh b/util/gitdesc.sh
index 0a34688..062911e 100755
--- a/util/gitdesc.sh
+++ b/util/gitdesc.sh
@@ -1,4 +1,4 @@
-#?bin/sh
+#!/bin/bash
 # Peter Hyman, pete@peterhyman.com
 # December 2020
pete4abw commented 3 years ago

My bad. Work dir <> git dir and no check before commit. Sorry.

SSSSeb commented 3 years ago

closed by #182