diff options
Diffstat (limited to 'elf/genrtldtbl.awk')
-rw-r--r-- | elf/genrtldtbl.awk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/genrtldtbl.awk b/elf/genrtldtbl.awk index 50f81c8..f5656a2 100644 --- a/elf/genrtldtbl.awk +++ b/elf/genrtldtbl.awk @@ -5,7 +5,8 @@ BEGIN { } { for (i = 1; i <= NF; ++i) { - dir[count++] = gensub(/((.*)[^/])?[/]*/, "\\1", "", $i); + gsub (/\/*$/, "", $i); + dir[count++] = $i; } } END { |