git » repo-mgmt.git » commit c49de9e

Oops, clone-gits bug

author Urja (ARMLFS builder)
2024-06-23 13:13:16 UTC
committer Urja (ARMLFS builder)
2024-06-23 13:13:16 UTC
parent b29d740c4156a8e1c345fb3efe3232ce999f1508

Oops, clone-gits bug

clone-gits.sh +2 -2

diff --git a/clone-gits.sh b/clone-gits.sh
index c807c80..20fee2a 100755
--- a/clone-gits.sh
+++ b/clone-gits.sh
@@ -14,7 +14,7 @@ done
 
 repo_gits() {
 	for dir in $(cat order | cut -d ' ' -f 1 | sort | uniq); do
-		echo $repo $dir
+		echo $1 $dir
 		if [ -e "$dir" ]; then
 			continue
 		fi
@@ -26,5 +26,5 @@ repo_gits() {
 
 for repo in core base kde5; do
 	cd /sources/$repo-pkgbuilds
-	repo_gits $1
+	repo_gits $repo
 done