From 0be1f96b74661d30bf26d50323e31fe68e5ae916 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sat, 1 Dec 2012 01:50:06 +0000 Subject: Every other platform puts touch in /usr/bin, but Red Hat is too special for that. Closes #359. svn path=/trunk/; revision=4925 --- buildtools/trang-not-found | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'buildtools/trang-not-found') diff --git a/buildtools/trang-not-found b/buildtools/trang-not-found index acbccf5b..56574ea8 100755 --- a/buildtools/trang-not-found +++ b/buildtools/trang-not-found @@ -17,4 +17,13 @@ Suppressing this warning for file: $2 EOF -/usr/bin/touch "$2" +# You can thank Red Hat for the following silliness. + +for touch in /usr/bin/touch /bin/touch +do + if /bin/test -x $touch + then + $touch "$2" + exit + fi +done -- cgit v1.2.3