Просмотр исходного кода

Added Travis check for uniformity

Marvin Lehmann 9 лет назад
Родитель
Сommit
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