Commit d0ec1dbf authored by Ophélie Gagnard's avatar Ophélie Gagnard

obs/generic/build-scripts/clean_build_tree.sh: Add permissions in go/...

obs/generic/build-scripts/clean_build_tree.sh: Add permissions in go/ directory in order to delete it.
parent 6d296478
...@@ -4,6 +4,10 @@ set -e ...@@ -4,6 +4,10 @@ set -e
source build-scripts/configuration_information.sh source build-scripts/configuration_information.sh
cd $INITIAL_DIR cd $INITIAL_DIR
# For some reason the user does not have the "write" permission on some directories of go/. As it is
# needed on a directory to delete a file in it, the following line add the permissions to every
# directories in go/.
find $RUN_BUILDOUT_DIR/go -name "*" -type d -exec chmod u+xw {} +
rm -rf $TARBALL_DIR rm -rf $TARBALL_DIR
exit # TODO: separate the tree building from the software release retrieving exit # TODO: separate the tree building from the software release retrieving
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment