The new smart match dispatch table for 5.10.1 onwards
[p5sagit/p5-mst-13.2.git] / Makefile.SH
index 97ffe67..0b80039 100644 (file)
@@ -205,8 +205,8 @@ done
 
 nonxs_list=' '
 for f in $nonxs_ext; do
-    base=`echo "$f" | sed 's/.*\///'`
-    nonxs_list="$nonxs_list ext/$f/pm_to_blib"
+    p=`echo "$f" | tr / -`
+    nonxs_list="$nonxs_list ext/$p/pm_to_blib"
 done
 
 dtrace_h=''