summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2007-09-29 04:11:03 +0000
committererdgeist <erdgeist@erdgeist.org>2007-09-29 04:11:03 +0000
commit0c78c429db258cc88f0f68d93698822a5c9b2f0a (patch)
treefc666fdf73f17a703c2a63691d6c8c9c8b80b0aa
parent9064f3e18b05ba496fa819ae42e2a85e5998eb1c (diff)
Fix a quoting bug
-rwxr-xr-xezjail-admin4
1 files changed, 2 insertions, 2 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 3190e7b..0399a1b 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -727,7 +727,7 @@ archive)
727 [ -z "${ezjail_archive}" ] && ezjail_archive="${ezjail_safename}-`date +%Y%m%d%H%M.%S`.tar.bz2" 727 [ -z "${ezjail_archive}" ] && ezjail_archive="${ezjail_safename}-`date +%Y%m%d%H%M.%S`.tar.bz2"
728 728
729 # prepend archive directory 729 # prepend archive directory
730 ezjail_archive="${ezjail_archivedir%/}"/"${ezjail_archive}" 730 ezjail_archive="${ezjail_archivedir:-`pwd -P`}"/"${ezjail_archive}"
731 731
732 case ${ezjail_archive} in 732 case ${ezjail_archive} in
733 *.tar.gz|*.tgz) ;; 733 *.tar.gz|*.tgz) ;;
@@ -735,7 +735,7 @@ archive)
735 esac; 735 esac;
736 736
737# TODO: tar cpf${ezjail_taroption} ${ezjail_archive} --atime-preserve --one-file-system ${ezjail_config} -C ${ezjail_root} 737# TODO: tar cpf${ezjail_taroption} ${ezjail_archive} --atime-preserve --one-file-system ${ezjail_config} -C ${ezjail_root}
738 cd ${ezjail_root} || exerr "Error: can't cd to ${ezjail_root} 738 cd ${ezjail_root} || exerr "Error: can't cd to ${ezjail_root}."
739 pax -wXtz -x ustar -f ${ezjail_archive} -s/^/ezjail\// . 739 pax -wXtz -x ustar -f ${ezjail_archive} -s/^/ezjail\// .
740 740
741 ;; 741 ;;