OSDN Git Service

(gast_make) : bug fix about -j option without an argument.
authorTadashi Koike <t-koike@users.sourceforge.jp>
Sat, 31 Oct 2009 12:00:46 +0000 (21:00 +0900)
committerTadashi Koike <t-koike@users.sourceforge.jp>
Sat, 31 Oct 2009 12:00:46 +0000 (21:00 +0900)
gast_make

index 33a8cdd..ff321ab 100755 (executable)
--- a/gast_make
+++ b/gast_make
@@ -140,7 +140,7 @@ do
     if [ -n "${next_is_jobs_flg}" ]; then
         next_is_jobs_flg=
         case "${arg}" in
-            -*)        :
+            -*)        new_args[${idx}-1]="-j1"
                 ;;
             *) new_args[$idx]="1"
                 ;;