Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 14 lines (11 sloc) 278 Bytes
repository=$1
shift
script=$1
shift
directory=$repository
directory=${directory##*/}
directory=${directory%.*}
mkdir -p /var/tmp/repositories/
directory=/var/tmp/repositories/${directory}
[ -d "$directory" ] || git clone $repository $directory
bash ${directory}/${script} $*
You can’t perform that action at this time.