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

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

parent 14435ceb
Loading
Loading
Loading
Loading
+1 −1
Changes for tools/create-target.sh: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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"