view scripts/conf_var @ 46:c79c2e94307c draft

forgot semicolons in dot code (bug reported and tracked down by UFO)
author Nick <nick@somerandomnick.ano>
date Sat, 12 Jun 2010 00:05:16 +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