From a535c2dca3874cdd821ab7fa08757f5e51926819 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 2 Jul 2016 19:57:43 +0100 Subject: [PATCH] removed some testing code --- lgsm/functions/command_update_functions.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lgsm/functions/command_update_functions.sh b/lgsm/functions/command_update_functions.sh index 36f87421b..4b81558de 100644 --- a/lgsm/functions/command_update_functions.sh +++ b/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"