slackware-current/source/a/rpm2tgz/patches/0010-no-absolute-filenames-extracting-cpio.patch

12 lines
368 B
Diff
Raw Normal View History

--- ./rpm2targz.orig 2022-01-28 23:26:57.686681986 -0600
+++ ./rpm2targz 2022-01-28 23:28:18.872683802 -0600
@@ -175,7 +175,7 @@
fi
mkdir -p $DEST
( cd $DEST
- cpio -i -m -d < $ofn 1> /dev/null 2> /dev/null
+ cpio -i -m -d --no-absolute-filenames < $ofn 1> /dev/null 2> /dev/null
rm -f $ofn
find . -type d -perm 700 -exec chmod 755 {} \;
)