diff options
-rwxr-xr-x | snapshots-create.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/snapshots-create.sh b/snapshots-create.sh index c66459c..06e41eb 100755 --- a/snapshots-create.sh +++ b/snapshots-create.sh @@ -137,7 +137,7 @@ COMMON_TAR_OPTIONS=( '--group=portage' # Excluded content: '--no-wildcards' - "--exclude-from='${EXCLUSION_LIST}'" + "--exclude-from=${EXCLUSION_LIST}" # Do not capture any xattr/acl info at all. '--no-acls' '--no-xattrs' @@ -146,19 +146,19 @@ COMMON_TAR_OPTIONS=( # volume header is NOT supported by: # - Docker https://bugs.gentoo.org/631644 # - tarsync https://bugs.gentoo.org/631616 - #"--label='${FILENAME%.bz2}'" + #"--label=${FILENAME%.bz2}" # do everything relative to the destination - "--directory='${MASTER}'" + "--directory=${MASTER}" ) # create the tarball and move it to the right location write_time_log "START TARBALL(tar,old) $(date -u)" if [ ! -f "${FILENAME%.bz2}" ]; then OLD_TARBALL_OPTIONS=( # The . needs to match the file argument - "--transform='s,^\\.,portage,g'" + "--transform=s,^\\.,portage,g" # The operation, destination, source arguments '--create' - "--file='${FILENAME%.bz2}'" + "--file=${FILENAME%.bz2}" . ) tar \ @@ -205,10 +205,10 @@ if [ ! -f "${FILENAME_NEW%.xz}" ]; then NEW_TARBALL_OPTIONS=( # The . needs to match the file argument - "--transform='s,^\\.,${FILENAME_NEW%%.*},g'" + "--transform=s,^\\.,${FILENAME_NEW%%.*},g" # The operation, destination, source arguments '--create' - "--file='${FILENAME_NEW%.xz}'" + "--file=${FILENAME_NEW%.xz}" . ) tar \ |