15 lines
192 B
Bash
Executable File
15 lines
192 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
if [ "$#" -ne 2 ]; then
|
|
echo "usage: $0 BUNDLE DESTINATION" >&2
|
|
exit 2
|
|
fi
|
|
|
|
bundle=$1
|
|
destination=$2
|
|
|
|
git bundle verify "$bundle"
|
|
git clone "$bundle" "$destination"
|
|
|