diff options
author | Dave Reisner <dreisner@archlinux.org> | 2016-11-20 14:36:18 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2016-11-20 14:36:18 +0100 |
commit | 89d9186264f56fcbceecd69681a79e70d43c6f14 (patch) | |
tree | 3601c26d28b965323034d46594974f370fbaab36 /install/fsck | |
parent | 06fb38e846fd22a4daac5d129687d1c1e6c187fc (diff) | |
download | mkinitcpio-89d9186264f56fcbceecd69681a79e70d43c6f14.tar.gz mkinitcpio-89d9186264f56fcbceecd69681a79e70d43c6f14.tar.xz |
fsck: avoid extra search paths
Arch's binaries are all in /usr/bin, so let's not bother searching in
duplicates of this directory.
Diffstat (limited to 'install/fsck')
-rw-r--r-- | install/fsck | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/fsck b/install/fsck index 739a93b..d20750e 100644 --- a/install/fsck +++ b/install/fsck @@ -21,7 +21,7 @@ build() { add_fsck $usrfstype && (( ++added )) fi else - for fsck in /{usr/,}{s,}bin/fsck.*; do + for fsck in /usr/bin/fsck.*; do [[ -f $fsck ]] || continue add_binary "$fsck" && (( ++added )) done |