pkgmeek: respect -kw flag even before building
This commit is contained in:
parent
2dbcad710d
commit
e39224cd61
@ -58,7 +58,8 @@ done
|
||||
|
||||
# The effective user should at least have write permissions on $PWD
|
||||
[ -w "$(dirname "$work")" ] || work="$(pwd)"/work
|
||||
rm -rf "$work"; mkdir -p "$work"/{src,pkg} && cd "$work"
|
||||
[ "$PKGMK_KEEP_WORK" = yes ] || rm -rf "$work"
|
||||
mkdir -p "$work"/{src,pkg} && cd "$work"
|
||||
|
||||
# Skip the retrieval of sources if the user asked for '-utd' or '-uf'.
|
||||
[[ "$PKGMK_MTIME_ONLY $PKGMK_UPDATE_FOOTPRINT" =~ yes ]] && [ -e "$PKGMK_PACKAGE_DIR/$package" ] \
|
||||
|
Loading…
Reference in New Issue
Block a user