diff options
author | Ben Elliston <bje@gnu.org> | 2012-02-25 21:21:11 +1100 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2012-02-25 21:21:11 +1100 |
commit | eae0168398cca1496ea4e93f3fda4b517cb5307b (patch) | |
tree | 50f587b760392bb8fb6dd85938673e3f172cec86 /runtest | |
parent | 4229b21f72c0f438768dacb0c19f891d5054776e (diff) | |
download | dejagnu-eae0168398cca1496ea4e93f3fda4b517cb5307b.zip dejagnu-eae0168398cca1496ea4e93f3fda4b517cb5307b.tar.gz dejagnu-eae0168398cca1496ea4e93f3fda4b517cb5307b.tar.bz2 |
* runtest: Search /usr/share/dejagnu and /usr/local/share/dejagnu
for runtest.exp as a last resort (for usrmove environments, where
/bin is a link to /usr/bin). From Honza Horak <hhorak@redhat.com>.
Diffstat (limited to 'runtest')
-rwxr-xr-x | runtest | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -109,7 +109,7 @@ fi # # .. which is a very weak assumption -for i in `echo ${execpath} | sed -e 's@/[^/]*$@/share/dejagnu@'` `echo ${execpath} | sed -e 's@/[^/]*/[^/]*$@/share/dejagnu@'` $execpath ; do +for i in `echo ${execpath} | sed -e 's@/[^/]*$@/share/dejagnu@'` `echo ${execpath} | sed -e 's@/[^/]*/[^/]*$@/share/dejagnu@'` $execpath /usr/share/dejagnu /usr/local/share/dejagnu ; do if expr $verbose \> 1 > /dev/null ; then echo Looking for $i/runtest.exp. fi |