diff --git a/Meta/.shell_include.sh b/Meta/.shell_include.sh index 0672595a385..21da3119c6d 100755 --- a/Meta/.shell_include.sh +++ b/Meta/.shell_include.sh @@ -44,4 +44,4 @@ find_executable() { FUSE2FS_PATH="$(find_executable fuse2fs)" RESIZE2FS_PATH="$(find_executable resize2fs)" -E2FSCK="$(find_executable e2fsck)" +E2FSCK_PATH="$(find_executable e2fsck)" diff --git a/Meta/build-image-qemu.sh b/Meta/build-image-qemu.sh index e021ce3f6ac..ea9453e3504 100755 --- a/Meta/build-image-qemu.sh +++ b/Meta/build-image-qemu.sh @@ -83,7 +83,7 @@ if [ -f _disk_image ]; then echo "checking existing image" result=0 - "$E2FSCK" -f -y _disk_image || result=$? + "$E2FSCK_PATH" -f -y _disk_image || result=$? if [ $result -ge 4 ]; then rm -f _disk_image USE_EXISTING=0