File: gen-yaws

package info (click to toggle)
yaws 2.0.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 9,424 kB
  • ctags: 7,994
  • sloc: erlang: 40,751; sh: 6,466; ansic: 1,184; makefile: 898; lisp: 79; xml: 12; python: 3; php: 1
file content (16 lines) | stat: -rwxr-xr-x 450 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

# Used by scripts/Makefile and scripts/rebar-pre-script to generate
# the yaws execution script

set -e

cat yaws.template                            | \
    ./Subst %yawsdir% "${YAWSDIR}"           | \
    ./Subst %vardir%  "${VARDIR}"            | \
    ./Subst %run_erl% "${ERLBINDIR}/run_erl" | \
    ./Subst %to_erl%  "${ERLBINDIR}/to_erl"  | \
    ./Subst %erl%     "${ERL}"               | \
    ./Subst %werl%    "${WERL}"

exit 0