view scripts/conf_var @ 145:c27cfcd703bf draft

Oops, you have to get the syntax right if you're hoping for it to work.
author Nick <nick@somerandomnick.ano>
date Tue, 14 Sep 2010 01:13:33 +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