diff --git a/scripts/c_api_tests.sh b/scripts/c_api_tests.sh index 526254978..4534b57cc 100755 --- a/scripts/c_api_tests.sh +++ b/scripts/c_api_tests.sh @@ -15,7 +15,7 @@ BUILD_ONLY=0 WITH_FEATURE_GPU="OFF" while [ -n "$1" ] do - case "$1" in + case "$1" in "--help" | "-h" ) usage exit 0 @@ -32,8 +32,8 @@ do echo "Unknown param : $1" exit 1 ;; - esac - shift + esac + shift done CURR_DIR="$(dirname "$0")" diff --git a/scripts/check_cargo_min_ver.sh b/scripts/check_cargo_min_ver.sh index 8302f23d7..06e2fbf13 100755 --- a/scripts/check_cargo_min_ver.sh +++ b/scripts/check_cargo_min_ver.sh @@ -19,7 +19,7 @@ RUST_TOOLCHAIN="" while [ -n "$1" ] do - case "$1" in + case "$1" in "--help" | "-h" ) usage exit 0 @@ -39,8 +39,8 @@ do echo "Unknown param : $1" exit 1 ;; - esac - shift + esac + shift done if [[ "${RUST_TOOLCHAIN::1}" != "+" ]]; then diff --git a/scripts/integer-tests.sh b/scripts/integer-tests.sh index f9371a397..22d15efce 100755 --- a/scripts/integer-tests.sh +++ b/scripts/integer-tests.sh @@ -28,7 +28,7 @@ tfhe_package="tfhe" while [ -n "$1" ] do - case "$1" in + case "$1" in "--help" | "-h" ) usage exit 0 @@ -75,7 +75,7 @@ do echo "Unknown param : $1" exit 1 ;; - esac + esac shift done diff --git a/scripts/shortint-tests.sh b/scripts/shortint-tests.sh index f3fce9891..d1b723625 100755 --- a/scripts/shortint-tests.sh +++ b/scripts/shortint-tests.sh @@ -20,7 +20,7 @@ tfhe_package="tfhe" while [ -n "$1" ] do - case "$1" in + case "$1" in "--help" | "-h" ) usage exit 0 @@ -49,7 +49,7 @@ do echo "Unknown param : $1" exit 1 ;; - esac + esac shift done diff --git a/scripts/symlink_c_libs_without_fingerprint.sh b/scripts/symlink_c_libs_without_fingerprint.sh index d303d8530..57099f910 100755 --- a/scripts/symlink_c_libs_without_fingerprint.sh +++ b/scripts/symlink_c_libs_without_fingerprint.sh @@ -16,7 +16,7 @@ LIBNAME="" while [ -n "$1" ] do - case "$1" in + case "$1" in "--help" | "-h" ) usage exit 0 @@ -36,7 +36,7 @@ do echo "Unknown param : $1" exit 1 ;; - esac + esac shift done