From: Ben Gras Date: Sun, 24 Feb 2013 12:50:53 +0000 (+0100) Subject: getdirs.awk: restore regexp to original X-Git-Tag: v3.3.0~1129 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=f360500351dd27c97c9d8a12c4fa7200c2b267e6;p=minix.git getdirs.awk: restore regexp to original Change-Id: I7f9714e1b0e079299c87b036dea8e91ffc701342 --- diff --git a/distrib/sets/getdirs.awk b/distrib/sets/getdirs.awk index fa84a723b..f82e6a2a6 100644 --- a/distrib/sets/getdirs.awk +++ b/distrib/sets/getdirs.awk @@ -32,7 +32,7 @@ function dirname(file) \ { # no need to worry about args that do not contain at least one "/" - gsub(/\/[^\/]*+/, "", file) + gsub(/\/[^\/]+$/, "", file) return file }