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 | |
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>.
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | runtest | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2012-02-25 Ben Elliston <bje@gnu.org> + + * 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>. + 2011-12-30 Ben Elliston <bje@gnu.org> * doc/user.xml: Various spelling and consistency fixes. @@ -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 |