Browse Source

vbuilder.sh.in を修正

git-svn-id: http://trac.vinelinux.org/repos/projects/vbootstrap/trunk@5367 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 12 years ago
parent
commit
bfc84fe9bc
1 changed files with 3 additions and 2 deletions
  1. 3 2
      vbuilder.sh.in

+ 3 - 2
vbuilder.sh.in

@@ -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
 		;;