diff options
author | Erich Eckner <git@eckner.net> | 2023-01-13 21:14:47 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2023-01-13 21:14:47 +0100 |
commit | 152a5bedeba947336f3022f2b6704e0c415b47ea (patch) | |
tree | 4c9aa59fbfaa28e1e975fabfdfaf179e68fe7931 /core/pkgutils/pkgmk-permissions-test.patch.new | |
parent | bf15c241f258cb46868ec2e036469e83c622156a (diff) | |
download | crux-patches-152a5bedeba947336f3022f2b6704e0c415b47ea.tar.xz |
core/pkgutils: adapt patches
Diffstat (limited to 'core/pkgutils/pkgmk-permissions-test.patch.new')
-rw-r--r-- | core/pkgutils/pkgmk-permissions-test.patch.new | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/pkgutils/pkgmk-permissions-test.patch.new b/core/pkgutils/pkgmk-permissions-test.patch.new index d94705a..870f0f5 100644 --- a/core/pkgutils/pkgmk-permissions-test.patch.new +++ b/core/pkgutils/pkgmk-permissions-test.patch.new @@ -16,7 +16,7 @@ PKGMK_DOWNLOAD_PROG=${PKGMK_DOWNLOAD_PROG:-wget} @@ -631,10 +636,13 @@ - local FILE LOCAL_FILENAME + local ORIG_FILE LOCAL_FILE srcind if [ -f $TARGET ]; then + check_directory "$PKGMK_PACKAGE_DIR" @@ -26,9 +26,9 @@ + check_directory "$PKGMK_SOURCE_DIR" + - for FILE in ${source[@]}; do - LOCAL_FILENAME=`get_filename $FILE` - if [ -e $LOCAL_FILENAME ] && [ "$LOCAL_FILENAME" != "$FILE" ]; then + srcind=0 + while [ $srcind -lt ${#source[@]} ]; do + ORIG_FILE="${source[$srcind]}" @@ -652,7 +660,6 @@ check_file "$PKGMK_FOOTPRINT" |