From 23599195c527e504a2ea9147e1bd61dc8d253a70 Mon Sep 17 00:00:00 2001
From: nrbffs <38812627+nrbffs@users.noreply.github.com>
Date: Sat, 12 Oct 2019 17:12:41 +0200
Subject: [PATCH] fix paths

---
 update-gluon.sh | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/update-gluon.sh b/update-gluon.sh
index 2ffd326..165f48d 100755
--- a/update-gluon.sh
+++ b/update-gluon.sh
@@ -36,10 +36,12 @@ new_gluon_rev=$(git rev-parse HEAD)
 cd ..
 
 git clone --recurse "$site_git_url"
+
+cd site-ffs
 git checkout nightly
-cd site-ffs/gluon
-git checkout $gluon_rev
-cd ..
+
+git -C gluon checkout $gluon_rev
+
 git add gluon
 git commit -m "automatic update to gluon $fork_newest_minor_tag"
 git push
-- 
GitLab