[doc] preproc.sh: fix for BSD sed

This commit is contained in:
Matteo Cypriani 2016-11-03 18:13:28 -04:00
parent dce4416bc6
commit 550d9008db
1 changed files with 4 additions and 3 deletions

View File

@ -8,6 +8,7 @@
# - Replaces all the occurrences of {{INSTALL_PREFIX}} by the value of # - Replaces all the occurrences of {{INSTALL_PREFIX}} by the value of
# the INSTALL_PREFIX environment variable. # the INSTALL_PREFIX environment variable.
sed "{ \ sed "{
s/{{OWLPS_VERSION}}/${OWLPS_VERSION}/g ; \ s@{{OWLPS_VERSION}}@${OWLPS_VERSION}@g
s@{{INSTALL_PREFIX}}@${INSTALL_PREFIX}@g }" $@ s@{{INSTALL_PREFIX}}@${INSTALL_PREFIX}@g
}" $@