]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
make sure we actually read the user profile when compiling remotely (needed for ccache)
authorRudolf Polzer <divVerent@xonotic.org>
Fri, 20 May 2011 12:44:25 +0000 (14:44 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Fri, 20 May 2011 12:44:25 +0000 (14:44 +0200)
all

diff --git a/all b/all
index 207f645b3af5d4b795cb71ecde8706bedde98eb8..381e9f7fb5c3206983e35e7481b15357fbe83faf 100755 (executable)
--- a/all
+++ b/all
@@ -1619,7 +1619,7 @@ case "$cmd" in
                                *)
                                        verbose rsync --delete -zLvaSHP "$srcdir"/ "$host:$buildpath/"
                                        verbose rsync --delete -zLvaSHP "$depsdir"/ "$host:$buildpath.deps/"
-                                       verbose ssh "$host" "export LC_ALL=C; ln -snf $buildpath.deps $buildpath/.deps && cd $buildpath && nice -`nice` make clean $maketargets $makeflags"
+                                       verbose ssh "$host" "[ -f /etc/profile ] && . /etc/profile; [ -f ~/.profile ] && . ~/.profile; export LC_ALL=C; 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