summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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