view scripts/conf_var @ 951:1ec03f851ccf draft

can use exec instead of csh for --install-daemontools. thanks AP :-)
author d3v11 <d3v11@d3v11.ano>
date Sat, 19 May 2012 21:15:09 +0000
parents 41b330b11a33
children
line wrap: on
line source

#!/bin/sh
if [ -r "conf/$1" ]; then
 exec cat "conf/$1"
else
 echo "$2"
 exec false
fi