Browse Source

testing code

pull/914/head
Daniel Gibbs 9 years ago
parent
commit
98d77fea11
  1. 1
      lgsm/functions/command_update_functions.sh

1
lgsm/functions/command_update_functions.sh

@ -36,6 +36,7 @@ if [ -n "${functionsdir}" ]; then
do
echo -ne " checking ${functionfile}...\c"
function_file_diff=$(diff "${functionsdir}/${functionfile}" <(${curlcmd} -s "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}"
if [ "${function_file_diff}" != "" ]; then
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}"

Loading…
Cancel
Save