mirror of
https://github.com/opnsense/plugins.git
synced 2026-02-03 20:40:37 -05:00
Framework: tedious work on FreeBSD...
This commit is contained in:
parent
df1e33afa6
commit
3e02a4c67c
1 changed files with 2 additions and 1 deletions
|
|
@ -12,5 +12,6 @@ REV=$(make -C ${DIR} -V PLUGIN_REVISION)
|
|||
REV=$(expr ${REV} \+ 1)
|
||||
|
||||
grep -v ^PLUGIN_REVISION ${DIR}/Makefile > ${DIR}/Makefile.tmp
|
||||
sed -e "s/^\(PLUGIN_VERSION.*\)/\1\nPLUGIN_REVISION= ${REV}/g" ${DIR}/Makefile.tmp > ${DIR}/Makefile
|
||||
sed -e "s/^\(PLUGIN_VERSION.*\)/\1%PLUGIN_REVISION= ${REV}/g" \
|
||||
${DIR}/Makefile.tmp | tr '%' '\n' > ${DIR}/Makefile
|
||||
rm -f ${DIR}/Makefile.tmp
|
||||
|
|
|
|||
Loading…
Reference in a new issue