release build script: run sub-compiles with niceness of calling process
authorRudolf Polzer <divverent@alientrap.org>
Wed, 15 Sep 2010 19:27:23 +0000 (21:27 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 15 Sep 2010 19:27:23 +0000 (21:27 +0200)
all

diff --git a/all b/all
index 2c6b18b4b78f0e0bc5822d9eef334ef405191518..ee4d75aa64b808170180e095d1593d8d969fe63f 100755 (executable)
--- a/all
+++ b/all
@@ -998,7 +998,7 @@ case "$cmd" in
                                *)
                                        verbose rsync --delete -zLvaSHP "$srcdir"/ "$host:$buildpath/"
                                        verbose rsync --delete -zLvaSHP "$depsdir"/ "$host:$buildpath.deps/"
-                                       verbose ssh "$host" "ln -snf $buildpath.deps $buildpath/.deps && cd $buildpath && make clean $maketargets $makeflags"
+                                       verbose ssh "$host" "ln -snf $buildpath.deps $buildpath/.deps && cd $buildpath && nice -`nice` make clean $maketargets $makeflags"
                                        for f in $targetfiles; do
                                                verbose rsync -zvaSHP "$host:$buildpath/${f%:*}" "${f##*:}" || true
                                        done