mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
scripts/unpack: clean stale package build dir
This commit is contained in:
@@ -52,6 +52,11 @@ for i in $BUILD/$1-*; do
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -d "$PKG_BUILD" -a ! -f "$STAMP" ]; then
|
||||
# stale pkg build dir
|
||||
$SCRIPTS/clean $1
|
||||
fi
|
||||
|
||||
[ -f "$STAMP" ] && exit 0
|
||||
|
||||
printf "%${BUILD_INDENT}c ${boldcyan}UNPACK${endcolor} $1\n" ' '>&$SILENT_OUT
|
||||
|
||||
Reference in New Issue
Block a user