From 9476cea22e1e2ae9185d2c7bc36b4fd97dc58af0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Wed, 1 May 2024 10:37:20 +0200 Subject: [PATCH] Enable comments in repo list file. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nicolás Ortega Froysa --- repo-list | 2 ++ sync.sh | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/repo-list b/repo-list index 59371aa..b171a4a 100644 --- a/repo-list +++ b/repo-list @@ -1,2 +1,4 @@ +# pacundo git@code.ortegas.org:nortega/pacundo.git;git@github.com:naortega/pacundo.git +# narcissus git@code.ortegas.org:nortega/narcissus.git;git@github.com:naortega/narcissus.git diff --git a/sync.sh b/sync.sh index 7dd44e2..0b1f344 100755 --- a/sync.sh +++ b/sync.sh @@ -2,6 +2,11 @@ while read line do + if [[ -z "$line" || "$line" == "#"* ]] + then + continue + fi + ORIG=$(echo $line | cut -d ';' -f1) DEST=$(echo $line | cut -d ';' -f2) NAME=${ORIG##*/}