diff options
Diffstat (limited to 'buildtools/trang-not-found')
-rwxr-xr-x | buildtools/trang-not-found | 11 |
1 files changed, 10 insertions, 1 deletions
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 |