summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch')
-rw-r--r--sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch b/sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch
new file mode 100644
index 000000000000..4aab4d0ab840
--- /dev/null
+++ b/sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch
@@ -0,0 +1,11 @@
+--- /usr/bin/gt5.old 2011-01-10 23:01:29.778000092 +0100
++++ /usr/bin/gt5 2011-01-10 23:01:16.577000089 +0100
+@@ -261,7 +261,7 @@
+
+ #can du handle depths?
+ DEPTH="$(du --help 2>&1 | "$AWK" '
+- /depth/{sub(/^[^-]*/,""); sub(/[N ].*/,""); print; exit}
++ /depth/{sub(/^[^-]*/,""); sub(/,[N ].*/,""); print; exit}
+ ')$((MAX_DEPTH+1))"
+
+ {