From c8b899ef1adc8e88174085a04bd42698271f0ad7 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 20 May 2011 14:44:25 +0200 Subject: [PATCH] make sure we actually read the user profile when compiling remotely (needed for ccache) --- all | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/all b/all index 207f645b..381e9f7f 100755 --- 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 -- 2.39.2