Missed a grep
This commit is contained in:
parent
f25c4f6dd5
commit
2325dfbc4a
|
@ -412,7 +412,7 @@ src/include/switch_version.h: src/include/switch_version.h.in .version $(libfree
|
||||||
@have_version=1 ; \
|
@have_version=1 ; \
|
||||||
force=0 ; \
|
force=0 ; \
|
||||||
grep -- "@SWITCH_VERSION_REVISION@" src/include/switch_version.h.in > /dev/null && have_version=0 ; \
|
grep -- "@SWITCH_VERSION_REVISION@" src/include/switch_version.h.in > /dev/null && have_version=0 ; \
|
||||||
test ! -f src/include/switch_version.h || grep "@SWITCH_VERSION_REVISION@" src/include/switch_version.h > /dev/null && force=1 ; \
|
test ! -f src/include/switch_version.h || grep -- "@SWITCH_VERSION_REVISION@" src/include/switch_version.h > /dev/null && force=1 ; \
|
||||||
if test $$have_version = 1 ; then \
|
if test $$have_version = 1 ; then \
|
||||||
cat src/include/switch_version.h.in > src/include/switch_version.h ; \
|
cat src/include/switch_version.h.in > src/include/switch_version.h ; \
|
||||||
touch .version ; \
|
touch .version ; \
|
||||||
|
|
Loading…
Reference in New Issue