diff options
author | Jeff Law <law@redhat.com> | 1998-11-11 05:47:47 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1998-11-11 05:47:47 +0000 |
commit | 1e490350fff9619fd30dbea910412308eb7c8661 (patch) | |
tree | 7a2feb269e9e69c21c59fd25f58ae460bc64cf9e /ylwrap | |
parent | 10b2757be5c6b726a2e8b00d8eed80b9bca95369 (diff) | |
download | gdb-1e490350fff9619fd30dbea910412308eb7c8661.zip gdb-1e490350fff9619fd30dbea910412308eb7c8661.tar.gz gdb-1e490350fff9619fd30dbea910412308eb7c8661.tar.bz2 |
dummy commit before egcs merge
Diffstat (limited to 'ylwrap')
-rwxr-xr-x | ylwrap | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -31,7 +31,7 @@ prog="$1" shift # Make any relative path in $prog absolute. case "$prog" in - /*) ;; + /* | [A-Za-z]:\\*) ;; */*) prog="`pwd`/$prog" ;; esac @@ -75,7 +75,7 @@ mkdir $dirname || exit 1 cd $dirname case "$input" in - /*) + /* | [A-Za-z]:\\*) # Absolute path; do nothing. ;; *) @@ -95,7 +95,7 @@ if test $status -eq 0; then # If $2 is an absolute path name, then just use that, # otherwise prepend `../'. case "$2" in - /*) target="$2";; + /* | [A-Za-z]:\\*) target="$2";; *) target="../$2";; esac mv "$1" "$target" || status=$? |