allow to set custom version

This commit is contained in:
belliash 2012-01-26 17:14:56 +01:00
parent fede8319d9
commit 138f3e0f13
3 changed files with 18 additions and 0 deletions

View File

@ -22,6 +22,14 @@ until [[ -z "${1}" ]]; do
-c|--cleanlog)
EZOPT_CLEANLOG=true
;;
-D|--tarballdate)
shift
if [ -z ${1} ]; then
die "--tarballdate requires an additional argument!"
else
TARBALLDATE="${1}"
fi
;;
-h|--help)
showEzbuildUsage
;;

8
ezsync
View File

@ -22,6 +22,14 @@ until [[ -z "${1}" ]]; do
-c|--cleanlog)
EZOPT_CLEANLOG=true
;;
-D|--tarballdate)
shift
if [ -z ${1} ]; then
die "--tarballdate requires an additional argument!"
else
TARBALLDATE="${1}"
fi
;;
-h|--help)
showEzsyncUsage
;;

View File

@ -398,6 +398,7 @@ function showEzbuildUsage() {
echo -e "building a custom Linux releases and templates.\n"
echo -e "USAGE: ezsync [parameters]"
echo -e " -c\t--cleanlog\tclears log file; not working with -p and -P"
echo -e " -D\t--tarballdate\toverrides produced image version/date format"
echo -e " -h\t--help\t\tdisplays this screen and exits immediately"
echo -e " -l\t--listmods\tshows the list of available built-in modules"
echo -e " -p\t--purge\t\tclears temporary folder"
@ -415,6 +416,7 @@ function showEzsyncUsage() {
echo -e "\treGen2 Linux for synchronizing Portage Tree with mainline.\n"
echo -e "USAGE: ezsync [parameters]"
echo -e " -c\t--cleanlog\tclears log file; not working with -p and -P"
echo -e " -D\t--tarballdate\toverrides produced image version/date format"
echo -e " -h\t--help\t\tdisplays this screen and exits immediately"
echo -e " -l\t--listmods\tshows the list of available built-in modules"
echo -e " -n\t--nosync\tspecifies the ebuilds source that will be omitted"