#!/bin/sh test "$1" == "" && exit 1 cp -r template "$1" || exit 1 cd "$1" || exit 1 chmod +x *.sh || exit 1