diff --git a/target/linux/ramips/image/common-sercomm.mk b/target/linux/ramips/image/common-sercomm.mk index 1cd6d1ece77..83bb2a742c9 100644 --- a/target/linux/ramips/image/common-sercomm.mk +++ b/target/linux/ramips/image/common-sercomm.mk @@ -51,7 +51,7 @@ define Build/sercomm-payload $(TOPDIR)/scripts/sercomm-payload.py \ --input-file $@ \ --output-file $@.tmp \ - --pid "$$(cat $@.pid | od -t x1 -An -v | tr -d '\n')" + --pid-file $@.pid mv $@.tmp $@ rm $@.pid endef