You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some obscure reason (probably related to the fact that update/scripts is the folder containing install-scripts) if a folder is named scripts, it does NOT get copied in a update.
Example situation to reproduce, using the sample update in this repo:
Could not find anything wrong in the "coderbot_update" script, this is the code launching update scripts:
cd scripts
allscripts=($(ls *.sh))
numscripts=${#allscripts[@]}
countscripts=0
for script in ${allscripts[@]}
do
let countscripts++
pending $countscripts $numscripts $script
bash $script || ERRORS=true && $BREAK_ON_FAIL && fail "ERROR: script: $script ended with non zero exit code" 6
done
It just executes anything *.sh found in the scripts folder, it should not skip any files in paths with the same folder name.
For some obscure reason (probably related to the fact that update/scripts is the folder containing install-scripts) if a folder is named
scripts
, it does NOT get copied in a update.Example situation to reproduce, using the sample update in this repo:
produce the update, with the script handling files doing this:
No errors reported,
update_status
remains atdone
showing success.. everything else is copied correctly.The text was updated successfully, but these errors were encountered: