1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:48:10 +00:00

Meta: Rename E2FSCK => E2FSCK_PATH

Done to increase consistency with other binaries' path.
This commit is contained in:
Lucas CHOLLET 2022-12-10 19:11:59 +01:00 committed by Linus Groh
parent 0fde7fe3c5
commit d3cdf151a4
2 changed files with 2 additions and 2 deletions

View file

@ -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)"

View file

@ -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