|
@@ -7,7 +7,7 @@ TEXTDOMAINDIR=/usr/share/locale
|
|
|
Usage(){
|
|
|
cat<<EOF
|
|
|
$(basename $0) @@VBUILDER_VERSION@@ $(echo $([ -z "@@VBUILDER_REVISION@@" ] || echo "(r@@VBUILDER_REVISION@@)"))
|
|
|
-Usage: $(basename $0) {--profile [profile]} {--version [version]} {--arch [arch]} {--category [categories]} {--fetch-url [fetch_url]} {--dist-upgrade} {--target [target]} {--with-compat32} {--rpmbuild-define [macro_expr]} {--rpmbuild-with [bcond_with]} {--rpmbuild-without [bcond_with]} {--sign} {--no-install} {--debug} {--help} {--bootstrap-dir [directory]} {--unionfs-dir [directory]} {--cache-dir [directory]} {--built-rpms-dir [directory]} {clean|build|build-rpm [src.rpm|spec]|install-rpm [arch.rpm|package]|remove-rpm [package]}
|
|
|
+Usage: $(basename $0) {--profile [profile]} {--version [version]} {--arch [arch]} {--category [categories]} {--fetch-url [fetch_url]} {--dist-upgrade} {--target [target]} {--with-compat32} {--rpmbuild-define [macro_expr]} {--rpmbuild-with [bcond_with]} {--rpmbuild-without [bcond_with]} {--sign} {--no-install} {--debug} {--help} {--bootstrap-dir [directory]} {--unionfs-dir [directory]} {--cache-dir [directory]} {--built-rpms-dir [directory]} {clean|build|build-rpm [src.rpm]|install-rpm [arch.rpm|package]|remove-rpm [package]}
|
|
|
EOF
|
|
|
|
|
|
echo $"
|
|
@@ -39,7 +39,7 @@ Options:
|
|
|
Actions:
|
|
|
clean: clean the bootstrap of [version]
|
|
|
build: build a bootstrap of [version]
|
|
|
- build-rpm: build [src.rpm|spec] on a bootstrap
|
|
|
+ build-rpm: build [src.rpm] on a bootstrap
|
|
|
install-rpm: install [arch.rpm|package] on a bootstrap
|
|
|
remove-rpm: remove [package] on a bootstrap
|
|
|
"
|
|
@@ -93,6 +93,7 @@ check-parameter(){
|
|
|
while [ ! -z "$*" ]; do
|
|
|
case $1 in
|
|
|
--help|help)
|
|
|
+ setup-vbuilder ||:
|
|
|
Usage
|
|
|
return 1
|
|
|
;;
|