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

am: 9b8d9396ea

Change-Id: Ic485440769e7463cb9b400fb4a717c5e0ffb1a45
This commit is contained in:
Elliott Hughes
2019-06-25 15:49:45 -07:00
committed by android-build-merger

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