mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
revert check
This commit is contained in:
parent
c9cfd93d68
commit
d17c535b3c
1 changed files with 3 additions and 3 deletions
|
@ -14,9 +14,9 @@ add_firmware() {
|
|||
for fw; do
|
||||
# _d_firmware is assigned in mkinitcpio
|
||||
# shellcheck disable=SC2154
|
||||
if [[ ! -e "${BUILDROOT}$fwpath/$fw.xz" ]]; then
|
||||
if [[ -f $fwpath/$fw.xz && ! -e "${BUILDROOT}$fwpath/$fw.xz" ]]; then
|
||||
add_file "$fwpath/$fw.xz" "$fwpath/$fw.xz"
|
||||
elif [[ ! -e "${BUILDROOT}$fwpath/$fw" ]]; then
|
||||
elif [[ -f $fwpath/$fw && ! -e "${BUILDROOT}$fwpath/$fw" ]]; then
|
||||
add_file "$fwpath/$fw" "$fwpath/$fw"
|
||||
fi
|
||||
done
|
||||
|
@ -231,7 +231,7 @@ add_binary() {
|
|||
continue
|
||||
fi
|
||||
|
||||
if [[ ! -e "${BUILDROOT}${sodep}" ]]; then
|
||||
if [[ -f "$sodep" && ! -e "${BUILDROOT}${sodep}" ]]; then
|
||||
add_file "$sodep" "$sodep"
|
||||
fi
|
||||
done <<< "$lddout"
|
||||
|
|
Loading…
Reference in a new issue