| commit | 42dcd97e4cf767284a90e252cc2bc2e4facaffe5 | [log] [tgz] |
|---|---|---|
| author | Francois Gouget <fgouget@free.fr> | Tue Jan 29 17:52:28 2002 +0000 |
| committer | Alexandre Julliard <julliard@winehq.org> | Tue Jan 29 17:52:28 2002 +0000 |
| tree | 4e60225a7cd77963115ddf447dc8184071e63c6e | |
| parent | 815997ffe0263bb1b29e7990a8e8b5b3629e4f85 [diff] [blame] |
'test -e' is not supported on Solaris, replace with '-f' or '-d'.
diff --git a/documentation/make_winehq b/documentation/make_winehq index c2bb276..67711e9 100755 --- a/documentation/make_winehq +++ b/documentation/make_winehq
@@ -20,7 +20,7 @@ WWWDIR=www.winehq.com ## Want to put this into a sub-directory for easier maintenance -if [ -e "$WWWDIR" ]; then +if [ -d "$WWWDIR" -o -f "$WWWDIR" ]; then rm -rf "$WWWDIR.old" mv "$WWWDIR" "$WWWDIR".old fi