9 lines
155 B
Bash
Executable file
9 lines
155 B
Bash
Executable file
#!/bin/sh -e
|
|
case $1 in
|
|
(*://*) cd "$(mktemp -d)"
|
|
git clone "$1"
|
|
cd "$(basename "${1%.git}")";;
|
|
(*) cd "$1";;
|
|
esac
|
|
shift
|
|
sudo checkinstall
|