File: gen-yaws-generated

package info (click to toggle)
yaws 2.0.8%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,084 kB
  • sloc: erlang: 42,190; sh: 2,543; javascript: 1,459; ansic: 890; makefile: 878; lisp: 79; python: 34; xml: 12; php: 1
file content (13 lines) | stat: -rwxr-xr-x 330 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# Used by src/Makefile and scripts/rebar-pre-script to create the
# yaws_generated.erl file

set -e

cat yaws_generated.template                       | \
    ../scripts/Subst %VSN%          "${YAWS_VSN}" | \
    ../scripts/Subst %VARDIR%       "${VARDIR}"   | \
    ../scripts/Subst %ETCDIR%       "${ETCDIR}"

exit 0