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