summaryrefslogtreecommitdiff
path: root/ext/util
diff options
context:
space:
mode:
Diffstat (limited to 'ext/util')
-rw-r--r--ext/util/make_ext2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/util/make_ext b/ext/util/make_ext
index 05f43761e9..dca9a8d8e9 100644
--- a/ext/util/make_ext
+++ b/ext/util/make_ext
@@ -40,7 +40,7 @@ esac
# get extension directory path, module name and depth
pname=`echo "$extspec" | sed -e 's:^ext/::' -e 's:/[^/]*$::'`
-mname=`echo "$pname" | sed -e 's!/!::!'`
+mname=`echo "$pname" | sed -e 's!/!::!g'`
depth=`echo "$pname" | sed -e 's![^/][^/]*!..!g'`
make=${altmake-make}
makeargs=''