Commit d0b3cc26 authored by nanahira's avatar nanahira

format

parent b2505e5e
......@@ -4,11 +4,11 @@ download_repo() {
REPO_DIR=$1
REPO_URL=$2
echo "Downloading $REPO_DIR"
if [ -d "$REPO_DIR" ]; then
if [ -d "$REPO_DIR" ]; then
(cd "$REPO_DIR" && git pull)
else
else
git clone "$REPO_URL" "$REPO_DIR"
fi
fi
}
download_repo chnroutes2 https://github.com/misakaio/chnroutes2.git
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment