summaryrefslogtreecommitdiffstats
path: root/source/a/rpm2tgz/patches/0010-no-absolute-filenames-extracting-cpio.patch
blob: 779012238d9618c3b3c3715d8d9be93ce1c73a14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ./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 {} \;
   )