From 146856d99e997be2184daf8ef5b3775e17c5de52 Mon Sep 17 00:00:00 2001 From: knaccc Date: Wed, 16 Jan 2019 22:04:30 +0000 Subject: [PATCH] Clean up import dirs if already exist --- bin/import-packages.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/import-packages.sh b/bin/import-packages.sh index 49f57bf..6da656c 100755 --- a/bin/import-packages.sh +++ b/bin/import-packages.sh @@ -11,7 +11,9 @@ if [ ! -d "$basedir/import/i2p.i2p" ]; then git clone https://github.com/i2p/i2p.i2p.git fi +cd $basedir/import/i2p.i2p git checkout tags/i2p-0.9.37 +cd .. if [ ! -d "$basedir/import/jdks" ]; then mkdir -p jdks