diff options
author | tron <tron> | 1999-05-17 02:16:07 +0000 |
---|---|---|
committer | tron <tron> | 1999-05-17 02:16:07 +0000 |
commit | df1e7bdeae9914192feb16951b793cf47dea64b5 (patch) | |
tree | 741f27144158c925df6c13bd9fab666fb48ffada /emulators/suse_base | |
parent | 4aabf3817a4efca229f2aa9095e593679c62a65b (diff) | |
download | pkgsrc-df1e7bdeae9914192feb16951b793cf47dea64b5.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 |