Fix the ctags execution.
authorjkratoch <>
Wed, 1 Sep 2010 08:33:44 +0000 (08:33 +0000)
committerjkratoch <>
Wed, 1 Sep 2010 08:33:44 +0000 (08:33 +0000)
bin/errs12

index de5912d..b78652b 100755 (executable)
@@ -3,6 +3,10 @@
 
 renice +19 -p $$; ionice -c3 -p $$
 
 
 renice +19 -p $$; ionice -c3 -p $$
 
+# For ctags
+PS1=x
+. ~/.bashrc
+
 customss="--enable-static --disable-shared"
 customm="-m64"
 target=
 customss="--enable-static --disable-shared"
 customm="-m64"
 target=
@@ -119,11 +123,10 @@ rm -f errs1.ok
        export CXXFLAGS_FOR_TARGET="$flags"
        export LDFLAGS="$ldflags"
 
        export CXXFLAGS_FOR_TARGET="$flags"
        export LDFLAGS="$ldflags"
 
-       ctags
-       test -d gdb && (cd gdb; ctags; cd testsuite; ctags; cd ../gdbserver; ctags)
-
        time nice "$configure" $target $targets $customss --enable-debug --disable-sim $maintainer $werror --with-separate-debug-dir=/usr/lib/debug "$@"
 
        time nice "$configure" $target $targets $customss --enable-debug --disable-sim $maintainer $werror --with-separate-debug-dir=/usr/lib/debug "$@"
 
+       (ctags; test -d gdb && (cd gdb; ctags; cd testsuite; ctags; cd ../gdbserver; ctags)) &
+
        errs2
 
        touch errs1.ok
        errs2
 
        touch errs1.ok