From: Fabian Grünbichler Date: Wed, 2 Aug 2017 12:46:11 +0000 (+0200) Subject: build: drop bash from fwcheck target X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=1e9f438872d1d0301efcd302f3db40ff211ea1f4;hp=bdfc6d28fcd6f634d5835c1ca7ac0e63da5e2b6c;p=pve-kernel.git build: drop bash from fwcheck target --- diff --git a/Makefile b/Makefile index 05e409e..0e744f5 100644 --- a/Makefile +++ b/Makefile @@ -146,8 +146,10 @@ fwlist-${KVNAME}: data fwcheck: fwlist-${KVNAME} fwlist-previous @echo "checking fwlist for changes since last built firmware package.." @echo "if this check fails, add fwlist-${KVNAME} to the pve-firmware repository and upload a new firmware package together with the ${KVNAME} kernel" - bash -c "diff -up -N <(sort fwlist-previous | uniq) <(sort fwlist-${KVNAME} | uniq) > fwlist.diff" - rm fwlist.diff + sort fwlist-previous | uniq > fwlist-previous.sorted + sort fwlist-${KVNAME} | uniq > fwlist-${KVNAME}.sorted + diff -up -N fwlist-previous.sorted fwlist-${KVNAME}.sorted > fwlist.diff + rm fwlist.diff fwlist-previous.sorted fwlist-${KVNAME}.sorted @echo "done, no need to rebuild pve-firmware"