Enable comments in repo list file.

Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
This commit is contained in:
Nicolás A. Ortega Froysa 2024-05-01 10:37:20 +02:00
parent d6978b4b20
commit 9476cea22e
2 changed files with 7 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# pacundo
git@code.ortegas.org:nortega/pacundo.git;git@github.com:naortega/pacundo.git 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 git@code.ortegas.org:nortega/narcissus.git;git@github.com:naortega/narcissus.git

View File

@ -2,6 +2,11 @@
while read line while read line
do do
if [[ -z "$line" || "$line" == "#"* ]]
then
continue
fi
ORIG=$(echo $line | cut -d ';' -f1) ORIG=$(echo $line | cut -d ';' -f1)
DEST=$(echo $line | cut -d ';' -f2) DEST=$(echo $line | cut -d ';' -f2)
NAME=${ORIG##*/} NAME=${ORIG##*/}