1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-10 05:18:17 +03:00

mkosi: fix typo

Follow-up for 4d0f1451b5.
This commit is contained in:
Yu Watanabe 2024-03-09 01:47:30 +09:00 committed by Daan De Meyer
parent 77630ec909
commit 17be4d7b98

View File

@ -6,7 +6,7 @@ if ((CACHED)); then
exit 0
fi
if [ -z "$(ls --almost-all "pkg/$DISTRIBTION")" ]; then
if [ -z "$(ls --almost-all "pkg/$DISTRIBUTION")" ]; then
git clone "$PKG_URL" --branch "$PKG_BRANCH" "pkg/$DISTRIBUTION"
elif [ -d "pkg/$DISTRIBUTION/.git" ] && [ "$(git -C "pkg/$DISTRIBUTION" rev-parse --abbrev-ref HEAD)" = "$PKG_BRANCH" ]; then
git -C "pkg/$DISTRIBUTION" pull