diff options
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" |