Makefile.linux: validate version
This commit is contained in:
parent
49d3b57441
commit
0a35f97db7
|
@ -240,7 +240,13 @@ else
|
|||
sed -i -e "s/^uuid=[-0-9a-f]*/uuid=`($(STAGING_DIR_HOST)/bin/genuuid||$(STAGING_DIR_HOST)/bin/uuidgen||$(STAGING_DIR_HOST)/bin/uuid) 2>/dev/null`/" miniupnpd.conf
|
||||
endif
|
||||
|
||||
check: validateupnppermissions validategetifaddr validatessdppktgen
|
||||
check: validateupnppermissions validategetifaddr validatessdppktgen \
|
||||
validateversion
|
||||
|
||||
validateversion: miniupnpd VERSION
|
||||
./miniupnpd --version
|
||||
[ "`./miniupnpd --version | head -1 | cut -d' ' -f-2`" = "miniupnpd `cat VERSION`" ]
|
||||
touch $@
|
||||
|
||||
validateupnppermissions: testupnppermissions testupnppermissions.sh
|
||||
./testupnppermissions.sh
|
||||
|
|
Loading…
Reference in New Issue