Selaa lähdekoodia

removed some testing code

Daniel Gibbs 10 vuotta sitten
vanhempi
commit
a535c2dca3
1 muutettua tiedostoa jossa 1 lisäystä ja 6 poistoa
  1. 1 6
      lgsm/functions/command_update_functions.sh

+ 1 - 6
lgsm/functions/command_update_functions.sh

@@ -28,22 +28,17 @@ if [ -n "${functionsdir}" ]; then
 		for curlcmd in ${curlpaths}
 		do
 			if [ -x "${curlcmd}" ]; then
-				echo "CURL CMD 1: ${curlcmd}"
 				break
 			fi
 		done
-		echo "CURL CMD 2: ${curlcmd}"
 		cd "${functionsdir}"
 		for functionfile in *
 		do
 			echo -ne "   checking ${functionfile}...\c"
-			echo "CURL CMD 3: ${curlcmd}"
 			function_file_diff=$(diff "${functionsdir}/${functionfile}" <(${curlcmd} -s "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${github_file_url_dir}/${functionfile}"))
 			if [ "${function_file_diff}" != "" ]; then
-				echo "CURL CMD 4: ${curlcmd}"
-				${curlcmd} -s --fail "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${github_file_url_dir}/${functionfile}"
 				echo "${curlcmd} -s --fail https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${github_file_url_dir}/${functionfile}"
-
+				${curlcmd} -s --fail "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${github_file_url_dir}/${functionfile}"
 				local exitcode=$?
 				if [ "${exitcode}" != "0" ]; then
 					echo -ne "   checking ${functionfile}...\c"