Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ophélie Gagnard
slapos.package
Commits
88caed7a
Commit
88caed7a
authored
Mar 16, 2022
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build-scripts/clean_build_tree.sh: Add permissions in go/ directory in order to delete it.
parent
51e8cc6a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
obs/generic/build-scripts/clean_build_tree.sh
obs/generic/build-scripts/clean_build_tree.sh
+4
-0
No files found.
obs/generic/build-scripts/clean_build_tree.sh
View file @
88caed7a
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment