aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-05-31 00:16:07 -0400
committerMike Frysinger <vapier@gentoo.org>2012-05-31 00:26:03 -0400
commitd3656352eca7adbea2fa29994c01052834b28dc9 (patch)
tree8c223cedff150e6d03b28aa4b6dbd3521adb5d41 /gcc-config
parentgcc-config: fix install of reference progs (diff)
downloadgcc-config-d3656352eca7adbea2fa29994c01052834b28dc9.tar.gz
gcc-config-d3656352eca7adbea2fa29994c01052834b28dc9.tar.bz2
gcc-config-d3656352eca7adbea2fa29994c01052834b28dc9.zip
gcc-config: fix old wrapper removal code path
While this code path won't fire on a sane setup, we still need it to function on an insane one, so fix the old variable name (which has been broken since it was originally added due to rewrites while it was under initial development) so the stale wrapper actually gets removed. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'gcc-config')
-rwxr-xr-xgcc-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-config b/gcc-config
index d81719b..554ff2b 100755
--- a/gcc-config
+++ b/gcc-config
@@ -263,7 +263,7 @@ update_wrappers() {
else
ewarn "double insanity with ${x} and ${ref}"
# Make sure we have no stale wrappers
- rm -f "${bin}"
+ rm -f "${ROOT}usr/bin/${x}"
fi
done
# legacy cruft, make sure we dont leave it laying around #143205