summaryrefslogtreecommitdiff
path: root/extras/mirror/vyos-github-mirror.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extras/mirror/vyos-github-mirror.sh')
-rwxr-xr-xextras/mirror/vyos-github-mirror.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/mirror/vyos-github-mirror.sh b/extras/mirror/vyos-github-mirror.sh
index 1950e30..1366c97 100755
--- a/extras/mirror/vyos-github-mirror.sh
+++ b/extras/mirror/vyos-github-mirror.sh
@@ -19,7 +19,7 @@ while [ $page -le 1000 ]
do
echo "Processing page $page"
- path="$datadir/repos-$page.json"
+ path="$dataDir/repos-$page.json"
curl -sS --fail-with-body "https://api.github.com/orgs/vyos/repos?per_page=50&page=$page" -o "$path"
emptyPage=true