From 9926d5f2a4142103906b1d628b3e64cef3a5df17 Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@Germany>
Date: Tue, 15 Feb 2011 16:12:12 +0100
Subject: [PATCH] BUG: dir names missed in toucho, touchdep

- forgot in 10f5e8080328ce7307f4f352a563311cd482e326
---
 bin/touchdep | 2 +-
 bin/toucho   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/touchdep b/bin/touchdep
index 48c19081ca1..fd22f4db23a 100755
--- a/bin/touchdep
+++ b/bin/touchdep
@@ -85,7 +85,7 @@ do
         if [ "$restrictOpt" = true ]
         then
             echo "touching all .dep files under Make/$WM_OPTIONS* : $i"
-            find -depth -name Make -type d -print | \
+            find $i -depth -name Make -type d -print | \
                 xargs -i find '{}' -depth -name "$WM_OPTIONS*" -type d -print | \
                 xargs -i find '{}' -name '*.dep' -type f -print | \
                 xargs -t touch
diff --git a/bin/toucho b/bin/toucho
index 71093cc49cd..7d6bbc98b62 100755
--- a/bin/toucho
+++ b/bin/toucho
@@ -81,7 +81,7 @@ do
         if [ "$restrictOpt" = true ]
         then
             echo "touching all .o files under Make/$WM_OPTIONS* : $i"
-            find -depth -name Make -type d -print | \
+            find $i -depth -name Make -type d -print | \
                 xargs -i find '{}' -depth -name "$WM_OPTIONS*" -type d -print | \
                 xargs -i find '{}' -name '*.o' -type f -print | \
                 xargs -t touch
-- 
GitLab