fix cd $ROOT that was done too soon

This commit is contained in:
Maxime Gimeno 2018-03-26 10:28:08 +02:00
parent 6c39cae662
commit 3be7b4f8af
1 changed files with 1 additions and 1 deletions

View File

@ -51,9 +51,9 @@ old_IFS=$IFS
IFS=$' '
ROOT="$PWD/.."
NEED_3D=0
cd $ROOT
for ARG in $(echo "$@")
do
cd $ROOT
#install openmesh only if necessary
if [ "$ARG" = "CHECK" ] || [ "$ARG" = BGL ] || [ "$ARG" = Convex_hull_3 ] ||\
[ "$ARG" = Polygon_mesh_processing ] || [ "$ARG" = Property_map ] ||\