]> git.proxmox.com Git - pve-kernel.git/commitdiff
build: drop bash from fwcheck target
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 2 Aug 2017 12:46:11 +0000 (14:46 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 2 Aug 2017 12:46:11 +0000 (14:46 +0200)
Makefile

index 05e409e7efedcf0e340d4e9b0879eb565248f1a0..0e744f5bd9b88777e19b0b4cf6807da95bc37bb2 100644 (file)
--- 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"