[gegl] gitlab-ci: attempt to use $() instead of `` inside arithmetic shell expression
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gitlab-ci: attempt to use $() instead of `` inside arithmetic shell expression
- Date: Mon, 12 Aug 2019 16:05:08 +0000 (UTC)
commit 34dba25eb1b1821127af342b697c97cfb2c49966
Author: Øyvind Kolås <pippin gimp org>
Date: Mon Aug 12 18:04:45 2019 +0200
gitlab-ci: attempt to use $() instead of `` inside arithmetic shell expression
.gitlab-ci.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 13b122797..dc3c1e53e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,7 +38,7 @@ babl-min-meson:
extends: .babl-base
script:
- grep babl_required_version ../configure.ac | grep -o '[0-9]*\.[0-9]*\.[0-9]*' | sed 's/\./_/g' >
.babl_min_version
- - if [ x$(( `cut .babl_min_version -f 3 -d _` % 2)) == x1 ] ; then git fetch --no-tags ; git checout
master ; else ; git fetch --no-tags origin "refs/tags/BABL_`cat .babl_min_version`:refs/tags/MIN_VERSION" ;
git checkout MIN_VERSION ; fi
+ - if [ x$(( $(cut .babl_min_version -f 3 -d _) % 2)) == x1 ] ; then git fetch --no-tags ; git checout
master ; else ; git fetch --no-tags origin "refs/tags/BABL_`cat .babl_min_version`:refs/tags/MIN_VERSION" ;
git checkout MIN_VERSION ; fi
- meson -Dprefix="$BABL_PREFIX" _build
- ninja -C _build
- ninja -C _build install
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]