add --tarballformat parameter

这个提交包含在:
belliash 2012-01-30 15:55:04 +01:00
父节点 db4f141f24
当前提交 66c370f87e
共有 2 个文件被更改,包括 9 次插入0 次删除

8
ezsync
查看文件

@ -60,6 +60,14 @@ until [[ -z "${1}" ]]; do
-t|--notrigger)
EZOPT_NOTRIGGER=true
;;
-T|--tarballformat)
shift
if [ -z ${1} ]; then
die "--tarballformat requires an additional argument!"
else
TARBALLFORMAT="${1}"
fi
;;
*)
die "Unrecognized option ${1}"
;;

查看文件

@ -425,6 +425,7 @@ function showEzsyncUsage() {
echo -e " -P\t--purgeonly\tclears temporary folder and exits"
echo -e " -s\t--syscheck\tperforms prerequisites check only"
echo -e " -t\t--notrigger\tdisables all build triggers and modules"
echo -e " -T\t--tarballformat\toverrides default compression algorithm"
echo -e "\nEXAMPLES:"
echo -e " ezsync -c -n mainline"
echo -e " ezsync -n mainline -n my_repo1"