getdirs.awk: restore regexp to original

Change-Id: I7f9714e1b0e079299c87b036dea8e91ffc701342
This commit is contained in:
Ben Gras 2013-02-24 13:50:53 +01:00
parent e176fa00ef
commit f360500351

View file

@ -32,7 +32,7 @@
function dirname(file) \ function dirname(file) \
{ {
# no need to worry about args that do not contain at least one "/" # no need to worry about args that do not contain at least one "/"
gsub(/\/[^\/]*+/, "", file) gsub(/\/[^\/]+$/, "", file)
return file return file
} }