Explorar o código

github_file_url_dir was being changed if _default.cfg was downloaded

Daniel Gibbs %!s(int64=9) %!d(string=hai) anos
pai
achega
15be75d42d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      lgsm/functions/command_update_linuxgsm.sh

+ 1 - 0
lgsm/functions/command_update_linuxgsm.sh

@@ -77,6 +77,7 @@ if [ -n "${functionsdir}" ]; then
 		for functionfile in *
 		do
 			echo -ne "    checking function ${functionfile}...\c"
+			github_file_url_dir="lgsm/functions"
 			get_function_file=$(${curlpath} --fail -s "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${github_file_url_dir}/${functionfile}")
 			exitcode=$?
 			function_file_diff=$(diff "${functionsdir}/${functionfile}" <(${curlpath} --fail -s "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${github_file_url_dir}/${functionfile}"))