mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-04-05 04:06:08 +00:00
Meta: Rename E2FSCK => E2FSCK_PATH
Done to increase consistency with other binaries' path.
This commit is contained in:
committed by
Linus Groh
parent
0fde7fe3c5
commit
d3cdf151a4
@@ -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)"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user