Browse Source

Try to debug permission denied error

bias-correction-in-flux-calculator
Sven Karsten 3 months ago
parent
commit
1d5fdf646e
  1. 7
      local_scripts/tag_build.sh

7
local_scripts/tag_build.sh

@ -37,7 +37,14 @@ fi
# if not, we add it
if [ -z "${last_tag}" ]; then
if ! echo "$tag" >> "${last_build_file}"; then
echo command returned some error
ls -lrth "${last_build_file}"
echo $USER
chmod u+rw "${last_build_file}"
fi
echo "$tag" >> "${last_build_file}"
else # if yes, we replace the old tag with the new one
sed -i s/"${last_tag}"/"$tag"/g "${last_build_file}"
fi

Loading…
Cancel
Save