瀏覽代碼

Added Travis check for uniformity

Marvin Lehmann 9 年之前
父節點
當前提交
e237d0eb42
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      linuxgsm.sh

+ 5 - 2
linuxgsm.sh

@@ -369,6 +369,9 @@ else
 	if [ ! -f "${tmpdir}/linuxgsm.sh" ]; then
 		fn_fetch_file_github "" "linuxgsm.sh" "${tmpdir}" "chmodx" "norun" "noforcedl" "nomd5"
 	fi
-	getopt=$1
-	core_getopt.sh
+	# Prevents running of core_exit.sh for Travis.
+	if [ "${travistest}" != "1" ]; then
+		getopt=$1
+		core_getopt.sh
+	fi
 fi