Closed tihmstar closed 1 year ago
The git-version-gen can print multiple lines in certain circumstances, which due to the usage in https://github.com/libimobiledevice/libplist/blob/master/configure.ac#L5 will result in a broken configure script.
git-version-gen
configure
One way to fix the issue is to make sure only one line is ever returned by the script. This can be achieved for example by changing:
printf %s "$VER"
to
VER=$(printf %s "$VER" | head -n1) printf %s "$VER"
Good catch. Thanks. b8fcc89
The
git-version-gen
can print multiple lines in certain circumstances, which due to the usage in https://github.com/libimobiledevice/libplist/blob/master/configure.ac#L5 will result in a brokenconfigure
script.One way to fix the issue is to make sure only one line is ever returned by the script. This can be achieved for example by changing:
to