1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
for f in ${TMPL_FILES}; do
sed \
-e "s,%%EMACS_CMD%%,${EMACS_CMD},g" \
-e "s,%%EMACS_PORTSDIR%%,${EMACS_PORTSDIR},g" \
-e "s,%%PKGNAME%%,${PKGNAME},g" \
-e "s,%%EMACS_PORT_NAME%%,${EMACS_PORT_NAME},g" \
-e "s,%%MEW_MAJOR_VER%%,${MEW_MAJOR_VER},g" \
-e "s,%%PORTNAME%%,${PORTNAME},g" \
-e "s,%%ELISPDIR%%,${ELISPDIR},g" \
-e "s,%%INFODIR%%,${INFODIR},g" \
-e "s,%%ETCDIR%%,${ETCDIR},g" \
< ${FILESDIR}/${f}.tmpl > ${WRKTMPDIR}/${f}
done
|