aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2017-09-18 13:22:54 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2017-09-18 13:22:54 -0700
commit6af9ec6e5be3eabc95184b6532bf69152c711a24 (patch)
treee4ad4c7d3421a6cebca0590417a5aad8a7f10f45
parentmastermirror-staging: use target dir, not git dir (diff)
downloadmastermirror-scripts-6af9ec6e5be3eabc95184b6532bf69152c711a24.tar.gz
mastermirror-scripts-6af9ec6e5be3eabc95184b6532bf69152c711a24.tar.bz2
mastermirror-scripts-6af9ec6e5be3eabc95184b6532bf69152c711a24.zip
snapshots-create: prepare for tar argument cleanup.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xsnapshots-create.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/snapshots-create.sh b/snapshots-create.sh
index 08e5192..8f031f0 100755
--- a/snapshots-create.sh
+++ b/snapshots-create.sh
@@ -91,7 +91,11 @@ if [ ! -f "${FILENAME%.bz2}" ]; then
echo "rsync run failed!"
exit 1
fi
- tar --owner=portage --group=portage -cf ${FILENAME%.bz2} portage \
+ tar \
+ --owner=portage \
+ --group=portage \
+ -cf ${FILENAME%.bz2} \
+ portage \
--exclude .checksum-test-marker
rc=$?
rm -rf portage