Merge "Don't use tar's -p with -rf, where it makes no sense."

This commit is contained in:
Elliott Hughes 2019-06-25 21:28:22 +00:00 committed by Gerrit Code Review
commit 2fdfc4e439
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ for f in ${subdirs} ${files} ; do
# echo "$f: dir: $is_dir curr: $curr_perms uid: $new_uid gid: $new_gid "\
# "perms: $new_perms"
tar --no-recursion --numeric-owner --owner $new_uid \
--group $new_gid --mode $new_perms -p -rf ${target_tar} ${f}
--group $new_gid --mode $new_perms -rf ${target_tar} ${f}
done
if [ $? -eq 0 ] ; then