summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-09-11 06:11:52 +0000
committerjkh <jkh@FreeBSD.org>1999-09-11 06:11:52 +0000
commitdb9dbb0a3c024448b456899d2a4c17709a425477 (patch)
tree5d5a0fc1ccc5d930eac4d341957b96e5d255d0ec /release
parent1745bea10c783838518fbb6198c97be566387ecf (diff)
downloadFreeBSD-src-db9dbb0a3c024448b456899d2a4c17709a425477.zip
FreeBSD-src-db9dbb0a3c024448b456899d2a4c17709a425477.tar.gz
Preserve permissions through tar pipelines.
Diffstat (limited to 'release')
-rwxr-xr-xrelease/scripts/dict-make.sh4
-rwxr-xr-xrelease/scripts/games-make.sh12
-rwxr-xr-xrelease/scripts/info-make.sh4
3 files changed, 13 insertions, 7 deletions
diff --git a/release/scripts/dict-make.sh b/release/scripts/dict-make.sh
index b5e9fd7..d519342 100755
--- a/release/scripts/dict-make.sh
+++ b/release/scripts/dict-make.sh
@@ -1,9 +1,11 @@
#!/bin/sh
+# $FreeBSD$
+
# Move the dict stuff out to its own dist
if [ -d ${RD}/trees/bin/usr/share/dict ]; then
tar -cf - -C ${RD}/trees/bin/usr/share/dict . |
- tar -xf - -C ${RD}/trees/dict/usr/share/dict &&
+ tar -xpf - -C ${RD}/trees/dict/usr/share/dict &&
rm -rf ${RD}/trees/bin/usr/share/dict;
fi
diff --git a/release/scripts/games-make.sh b/release/scripts/games-make.sh
index 293097b..06716d5 100755
--- a/release/scripts/games-make.sh
+++ b/release/scripts/games-make.sh
@@ -1,34 +1,36 @@
#!/bin/sh
+# $FreeBSD$
+
# Move all the games out to their own dist
if [ -d ${RD}/trees/bin/usr/games ]; then
tar -cf - -C ${RD}/trees/bin/usr/games . |
- tar -xf - -C ${RD}/trees/games/usr/games &&
+ tar -xpf - -C ${RD}/trees/games/usr/games &&
rm -rf ${RD}/trees/bin/usr/games;
fi
if [ -d ${RD}/trees/bin/usr/share/games ]; then
tar -cf - -C ${RD}/trees/bin/usr/share/games . |
- tar -xf - -C ${RD}/trees/games/usr/share/games &&
+ tar -xpf - -C ${RD}/trees/games/usr/share/games &&
rm -rf ${RD}/trees/bin/usr/share/games;
fi
if [ -d ${RD}/trees/bin/var/games ]; then
tar -cf - -C ${RD}/trees/bin/var/games . |
- tar -xf - -C ${RD}/trees/games/var/games &&
+ tar -xpf - -C ${RD}/trees/games/var/games &&
rm -rf ${RD}/trees/bin/var/games;
fi
if [ -d ${RD}/trees/manpages/usr/share/man/man6 ]; then
mkdir -p ${RD}/trees/games/usr/share/man/man6
tar -cf - -C ${RD}/trees/manpages/usr/share/man/man6 . |
- tar -xf - -C ${RD}/trees/games/usr/share/man/man6 &&
+ tar -xpf - -C ${RD}/trees/games/usr/share/man/man6 &&
rm -rf ${RD}/trees/manpages/usr/share/man/man6
fi
if [ -d ${RD}/trees/catpages/usr/share/man/cat6 ]; then
mkdir -p ${RD}/trees/games/usr/share/man/cat6
tar -cf - -C ${RD}/trees/catpages/usr/share/man/cat6 . |
- tar -xf - -C ${RD}/trees/games/usr/share/man/cat6 &&
+ tar -xpf - -C ${RD}/trees/games/usr/share/man/cat6 &&
rm -rf ${RD}/trees/catpages/usr/share/man/cat6
fi
diff --git a/release/scripts/info-make.sh b/release/scripts/info-make.sh
index 2157514..2db3646 100755
--- a/release/scripts/info-make.sh
+++ b/release/scripts/info-make.sh
@@ -1,8 +1,10 @@
#!/bin/sh
+# $FreeBSD$
+
# Move the info files out to their own dist
if [ -d ${RD}/trees/bin/usr/share/info ]; then
tar -cf - -C ${RD}/trees/bin/usr/share/info . |
- tar -xf - -C ${RD}/trees/info/usr/share/info &&
+ tar -xpf - -C ${RD}/trees/info/usr/share/info &&
rm -rf ${RD}/trees/bin/usr/share/info;
fi
OpenPOWER on IntegriCloud