fix: use sudo git checkout to reset root-owned build artifacts
This commit is contained in:
@@ -70,7 +70,7 @@ fi
|
|||||||
|
|
||||||
cd "\$REPO"
|
cd "\$REPO"
|
||||||
echo "--- pulling latest ---"
|
echo "--- pulling latest ---"
|
||||||
git checkout -- .
|
sudo git checkout -- .
|
||||||
git pull --ff-only
|
git pull --ff-only
|
||||||
chmod +x iso/overlay/usr/local/bin/* 2>/dev/null || true
|
chmod +x iso/overlay/usr/local/bin/* 2>/dev/null || true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user