#!/bin/bash if [ ! -d "cmake" ];then mkdir cmake fi cd cmake cmake .. make cp wecho ../ cd ..