projects
/
platform
/
upstream
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbd1e66
)
setupccache: remove obsolete rm command
author
Frank Lichtenheld
<flichtenheld@astaro.com>
Wed, 30 May 2012 19:08:57 +0000
(21:08 +0200)
committer
Frank Lichtenheld
<flichtenheld@astaro.com>
Wed, 30 May 2012 19:08:57 +0000
(21:08 +0200)
$builduserhome is undefined, so that really deletes /bin/gcc etc.
Which is a problem on Fedora 17 where /bin is a symlink to
/usr/bin.
build
patch
|
blob
|
history
diff --git
a/build
b/build
index
c323122
..
ad81c23
100755
(executable)
--- a/
build
+++ b/
build
@@
-399,7
+399,6
@@
setupccache()
echo "export CCACHE_DIR=/.ccache" > "$BUILD_ROOT"/etc/profile.d/build_ccache.sh
echo 'export PATH=/var/lib/build/ccache/bin:$PATH' >> "$BUILD_ROOT"/etc/profile.d/build_ccache.sh
else
- rm -f "$BUILD_ROOT$builduserhome"/bin/{gcc,g++,cc,c++}
rm -f "$BUILD_ROOT"/var/lib/build/ccache/bin/{gcc,g++,cc,c++}
fi
}