diff options
author | tron <tron> | 1999-05-17 02:16:07 +0000 |
---|---|---|
committer | tron <tron> | 1999-05-17 02:16:07 +0000 |
commit | e005ee3cc4164ac87ac5d67dc5a56f38b5d3bb32 (patch) | |
tree | 741f27144158c925df6c13bd9fab666fb48ffada /emulators/suse_base | |
parent | ff460b5ecab52f540c9b965928d4620032d6c6e7 (diff) | |
download | pkgsrc-e005ee3cc4164ac87ac5d67dc5a56f38b5d3bb32.tar.gz |
Use "tar" to copy files because "cp -Rp" clobbers the directory
permissions from the "aaa_dir" RPM file.
Diffstat (limited to 'emulators/suse_base')
-rw-r--r-- | emulators/suse_base/Makefile | 3 | ||||
-rwxr-xr-x | emulators/suse_base/scripts/rpm2pkg.sh | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/emulators/suse_base/Makefile b/emulators/suse_base/Makefile index 052cdcb7707..148f9071449 100644 --- a/emulators/suse_base/Makefile +++ b/emulators/suse_base/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 1999/05/17 01:54:01 tron Exp $ +# $NetBSD: Makefile,v 1.4 1999/05/17 02:16:07 tron Exp $ DISTNAME= suse_base-6.1 CATEGORIES= emulators @@ -33,6 +33,7 @@ do-build: ${SCRIPTDIR}/*.sh; do \ ${SED} -e 's#@@EMULDIR@@#${EMULDIR}#g' \ -e 's#@@EMULSUBDIR@@#${EMULSUBDIR}#g' \ + -e 's#@@GTAR@@#${GTAR}#g' \ -e 's#@@PREFIX@@#${PREFIX}#g' \ <$$FILE >${WRKDIR}/`basename $$FILE`; \ done diff --git a/emulators/suse_base/scripts/rpm2pkg.sh b/emulators/suse_base/scripts/rpm2pkg.sh index 83ef563681a..5b7a68846cd 100755 --- a/emulators/suse_base/scripts/rpm2pkg.sh +++ b/emulators/suse_base/scripts/rpm2pkg.sh @@ -37,7 +37,7 @@ done find @@EMULSUBDIR@@/* -type d | sort -r | awk '{print("@unexec rmdir %D/"$1" >/dev/null 2>&1 || true")}') >$PLIST -cp -Rp $TMPDIR/@@EMULSUBDIR@@/* @@EMULDIR@@ +@@GTAR@@ cCf $TMPDIR - @@EMULSUBDIR@@ | @@GTAR@@ xCf @@PREFIX@@ - cat $PLIST |