chiark / gitweb /
contrib: Do proper substitutions on contrib files.
[tripe] / contrib / ipif-peers.in
similarity index 95%
rename from contrib/ipif-peers
rename to contrib/ipif-peers.in
index c976238..3b95a48 100755 (executable)
 
 set -e
 quis=${0##*/}
-case ${TRIPEDIR+t} in
-  t) ;;
-  *) echo >&2 "$quis: \`TRIPEDIR' unset"; exit 1 ;;
-esac
+: ${TRIPEDIR=@configdir@}
 
 ## Trundle through the table.
 while read name remote_ext local_int remote_int routes; do