[gjs: 1/3] CI: pacify static analyser
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 1/3] CI: pacify static analyser
- Date: Thu, 29 Mar 2018 04:21:34 +0000 (UTC)
commit 2158b936c3bb37c7379085212029e2734fb02fa9
Author: Claudio André <claudioandre br gmail com>
Date: Wed Mar 28 14:46:17 2018 -0300
CI: pacify static analyser
test/test-ci.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/test/test-ci.sh b/test/test-ci.sh
index ba5dc39..f43e6e7 100755
--- a/test/test-ci.sh
+++ b/test/test-ci.sh
@@ -110,7 +110,7 @@ mkdir -p "$save_dir"/tokei; touch "$save_dir"/tokei/doing-"$1"
# Allow CI to skip jobs. Its goal is to simplify housekeeping.
# Disable tasks using the commit message. Possibilities are (and/or):
# [skip eslint] [skip cpplint] [skip cppcheck]
-export log_message=$(git log -n 1)
+log_message=$(git log -n 1)
if [[ $1 == "GJS" ]]; then
do_Set_Env
@@ -231,7 +231,7 @@ elif [[ $1 == "CPPLINT" && "$log_message" != *'[skip cpplint]'* ]]; then
do_Compare_With_Upstream_Master "cppLint"
elif [[ $1 == "ESLINT" && "$log_message" != *'[skip eslint]'* ]]; then
- tmp_path=$(dirname $CI_PROJECT_DIR)
+ tmp_path=$(dirname "$CI_PROJECT_DIR")
echo
echo '-- Javascript linter report --'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]