ea398b5205
Try cloning and fetching 3 times, 30 seconds apart, to add some robustness. Change-Id: I4f113a0d1313ea4485086f62514825ec980584a6
18 lines
210 B
Bash
Executable File
18 lines
210 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo $*
|
|
case "$1" in
|
|
fetch)
|
|
if [ -f ./stamp1 ]; then
|
|
touch ./stamp2
|
|
exit 0
|
|
fi
|
|
touch ./stamp1
|
|
exit 1
|
|
;;
|
|
version)
|
|
echo "git version 1.0.0"
|
|
exit 0
|
|
;;
|
|
esac
|