cd build if [ "$1" == "" ] then cmake --install . else cmake --install . --prefix $1 fi