[gnome-tour] misc: don't use bash only feature in cargo.sh



commit c1ae5c1a003f78eecb0317884300c086a99e8320
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Mon Oct 5 16:53:04 2020 +0000

    misc: don't use bash only feature in cargo.sh
    
    fixes #23

 build-aux/cargo.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/build-aux/cargo.sh b/build-aux/cargo.sh
index 9ffe0ce..ede82cd 100644
--- a/build-aux/cargo.sh
+++ b/build-aux/cargo.sh
@@ -6,7 +6,7 @@ export CARGO_TARGET_DIR="$MESON_BUILD_ROOT"/target
 export CARGO_HOME="$CARGO_TARGET_DIR"/cargo-home
 FEATURES="$6"
 
-if [[ $4 = "Devel" ]]
+if [ $4 = "Devel" ]
 then
     echo "DEBUG MODE"
     cargo build --manifest-path \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]