From 5a010aec09034a014ff439ba38e3fc9e72dec30e Mon Sep 17 00:00:00 2001 From: jedi Date: Thu, 11 Mar 2021 23:29:53 +0100 Subject: [PATCH] url cache --- unbox.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unbox.sh b/unbox.sh index 133f43f..b975dbc 100755 --- a/unbox.sh +++ b/unbox.sh @@ -24,7 +24,8 @@ function unbox_outer_stage(){ fi echo $REMOTE - echo $REMOTE >> .repo_cache + URL_CACHE=$( ( cat .repo_cache; echo $REMOTE;) | sort | uniq ) + echo $URL_CACHE > .repo_cache if [ -e repo ]; then (cd repo; git pull)