Verified Commit 208a18e6 authored by Roland Clobus's avatar Roland Clobus
Browse files

reproducible Debian live: No sudo required to delete old live-build result directories

parent 17a56ab0
...@@ -127,7 +127,7 @@ if [ ! -z "$OLDSTUFF" ] ; then ...@@ -127,7 +127,7 @@ if [ ! -z "$OLDSTUFF" ] ; then
echo echo
echo "Old temp directories for live-build found in $REP_RESULTS" echo "Old temp directories for live-build found in $REP_RESULTS"
echo -n "$OLDSTUFF" echo -n "$OLDSTUFF"
find $REP_RESULTS -maxdepth 1 -type d -mtime +0 -name "live-build-*" -exec sudo rm -rf --one-file-system {} \; || true find $REP_RESULTS -maxdepth 1 -type d -mtime +0 -name "live-build-*" -exec rm -rf --one-file-system {} \; || true
echo "These old temp directories for live-build have been deleted." echo "These old temp directories for live-build have been deleted."
echo echo
DIRTY=true DIRTY=true
......
Supports Markdown
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