]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 8 Mar 2024 16:47:30 +0000 (01:47 +0900)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 8 Mar 2024 17:17:37 +0000 (18:17 +0100)
Follow-up for 4d0f1451b58dbd4b94da579b800adef4f4e42c34.

mkosi.images/base/mkosi.sync

index b93339afe1c93d3d14ccc9996b7a47be756e9512..5ab43befc17c238f06ede6cba78093703e02530e 100755 (executable)
@@ -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