Commit 50b8f963 authored by Raymond Toy's avatar Raymond Toy
Browse files

Solaris sh doesn't have test -e. Use -d instead.

parent 14435ceb
......@@ -81,7 +81,7 @@ esac
diag "Settings: bld_dir=$bld_dir lisp_variant=$lisp_variant ${motif_variant:+motif_variant=$motif_variant}"
# Create a directory tree that mirrors the source directory tree
[ -e "$bld_dir" ] && quit "Exists: `ls -ld $bld_dir`"
[ -d "$bld_dir" ] && quit "Exists: `ls -ld $bld_dir`"
mkdir -p "$bld_dir"
(cd src && find . -name .git -prune -o -type d -print) | (cd $bld_dir && xargs mkdir -p) ||
quit "Can't create target directories"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment