소스 검색

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
 	if [ ! -f "${tmpdir}/linuxgsm.sh" ]; then
 		fn_fetch_file_github "" "linuxgsm.sh" "${tmpdir}" "chmodx" "norun" "noforcedl" "nomd5"
 		fn_fetch_file_github "" "linuxgsm.sh" "${tmpdir}" "chmodx" "norun" "noforcedl" "nomd5"
 	fi
 	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
 fi