mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 09:36:08 +00:00
Meta: Rename E2FSCK
=> E2FSCK_PATH
Done to increase consistency with other binaries' path.
This commit is contained in:
parent
0fde7fe3c5
commit
d3cdf151a4
Notes:
sideshowbarker
2024-07-17 03:13:10 +09:00
Author: https://github.com/LucasChollet
Commit: d3cdf151a4
Pull-request: https://github.com/SerenityOS/serenity/pull/16336
Issue: https://github.com/SerenityOS/serenity/issues/16176
Reviewed-by: https://github.com/timschumi ✅
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue