diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7812296..0b4d225 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,8 +16,8 @@ archive: - apt-get update --quiet - apt-get install --quiet --assume-yes libsane-dev script: - - build=$(git describe --dirty --match '1.*' | sed 's/.*\.//; s/-.*//'); \ - extra=$(git describe --dirty --match '1.*' | sed 's/^[^-]*//'); \ + - build=$(git describe --dirty --match '1.*' | sed 's/.*\.//; s/-.*//'); + extra=$(git describe --dirty --match '1.*' | sed 's/^[^-]*//'); sed -i "/^V_BUILD/s/=.*/=$build/; /^V_EXTRA/s/=.*/=$extra/" configure.ing - autoconf --force - ./configure