summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-01-07 00:57:47 +0000
committerZac Medico <zmedico@gentoo.org>2009-01-07 00:57:47 +0000
commitfeee3348bb3d7744c3d18302f7b8c1691b127bb8 (patch)
tree78ff17d1f2bb0b90ba1e617bdb7c156b255f5af9
parent240c950eb8ca95e2dd5659b035037d075a5ba828 (diff)
downloadportage-feee3348bb3d7744c3d18302f7b8c1691b127bb8.tar.gz
portage-feee3348bb3d7744c3d18302f7b8c1691b127bb8.tar.bz2
portage-feee3348bb3d7744c3d18302f7b8c1691b127bb8.zip
Fix quoting for variable assignment with eval, from previous commit.
svn path=/main/trunk/; revision=12386
-rwxr-xr-xbin/prepstrip2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/prepstrip b/bin/prepstrip
index c9cb4c29f..c010861f9 100755
--- a/bin/prepstrip
+++ b/bin/prepstrip
@@ -75,7 +75,7 @@ save_elf_debug() {
if [[ -n ${!inode} ]] ; then
ln "${D}usr/lib/debug/${!inode:${#D}}.debug" "$y"
else
- eval $inode=\"$x\"
+ eval $inode=\$x
${OBJCOPY} --only-keep-debug "${x}" "${y}"
${OBJCOPY} --add-gnu-debuglink="${y}" "${x}"
[[ -g ${x} ]] && chmod go-r "${y}"