accept git_build_into argments

This commit is contained in:
2017-08-18 18:55:38 +02:00
parent 614bc74911
commit c62f85499a
2 changed files with 6 additions and 1 deletions

View File

@@ -33,6 +33,10 @@ if [ -z "$inc_arguments" ]; then
command="$1$command"
[ "$#" -gt 0 ] && shift 1 && target="$1"
;;
git_build_into)
command="$1$command"
[ "$#" -gt 0 ] && shift 1 && target="$1"
;;
svn_build_into)
command="$1$command"
[ "$#" -gt 0 ] && shift 1 && target="$1"
@@ -101,6 +105,7 @@ if [ -z "$inc_arguments" ]; then
case "$command" in
build_into) [ -z "$target" ] && die "Missing destination directory" ;;
git_build_into) [ -z "$target" ] && die "Missing destination directory" ;;
svn_build_into) [ -z "$target" ] && die "Missing destination directory" ;;
process_file) [ -z "$workfile" ] && die "Need at least input file" ;;
build_xmlstream) [ -z "$workfile" ] && die "Missing xhtml file name" ;;