summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-10-10 22:28:55 -0400
committerMike Frysinger <vapier@gentoo.org>2011-10-10 22:28:55 -0400
commit12dc5c56c821336f02338e3374b97e55273aee3c (patch)
tree89f072eca9f9df7eb506eaaa3ad473fe49d94db2
parent743a52236f1aeadf5259c68867ea8aa22b53e8ae (diff)
downloadportage-12dc5c56c821336f02338e3374b97e55273aee3c.tar.gz
portage-12dc5c56c821336f02338e3374b97e55273aee3c.tar.bz2
portage-12dc5c56c821336f02338e3374b97e55273aee3c.zip
prepstrip: avoid a `dirname` with a simple ${var%/*}
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-xbin/ebuild-helpers/prepstrip2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild-helpers/prepstrip b/bin/ebuild-helpers/prepstrip
index 68b2133e3..67ceeadb0 100755
--- a/bin/ebuild-helpers/prepstrip
+++ b/bin/ebuild-helpers/prepstrip
@@ -81,7 +81,7 @@ save_elf_debug() {
# this will recompute the build-id, but for now that's ok
local buildid="$( ${debugedit_found} && debugedit -i "${x}" )"
- mkdir -p $(dirname "${y}")
+ mkdir -p "${y%/*}"
local inode=$(inode_var_name "$x")
if [[ -n ${!inode} ]] ; then