#!/usr/bin/env sh cd build if [ -z "$1" ] then cmake --install . else cmake --install . --prefix $1 fi