diff --git a/build/arguments.sh b/build/arguments.sh index 6d3a1a5ab5..4075c8188b 100755 --- a/build/arguments.sh +++ b/build/arguments.sh @@ -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" ;; diff --git a/build/build_main.sh b/build/build_main.sh index 363cb25d4b..7a4e013274 100755 --- a/build/build_main.sh +++ b/build/build_main.sh @@ -38,7 +38,7 @@ buildpids=$( | egrep "[s]h ${0} .*" \ | wc -l ) -if [ $command = "build_into" -o $command = "svn_build_into" ] && [ "$buildpids" -gt 2 ]; then +if [ $command = "build_into" -o $command = "git_build_into" -o $command = "svn_build_into" ] && [ "$buildpids" -gt 2 ]; then debug "build script is already running" exit 0 fi