diff options
author | Tom Tromey <tromey@redhat.com> | 1997-08-05 23:41:33 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 1997-08-05 23:41:33 +0000 |
commit | d3db859ca16758539421cee7f52ae2675cfa2526 (patch) | |
tree | 8a6b6cc5f3204d9e62cd44239de079b6900a5131 /lib | |
parent | 4753666669db4dcfd9671cbb57458f0b8b23d3c2 (diff) | |
download | automake-d3db859ca16758539421cee7f52ae2675cfa2526.tar.gz |
ylwrap patch from Ian
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/ylwrap | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ylwrap b/lib/ylwrap index b37f2cd37..b5b621843 100755 --- a/lib/ylwrap +++ b/lib/ylwrap @@ -29,6 +29,11 @@ # The program to run. prog="$1" shift +# Make any relative path in $prog absolute. +case "$prog" in + /*) ;; + */*) prog="`pwd`/$prog" ;; +esac # The input. input="$1" |