view scripts/conf_var @ 1148:5c239f21ff7e draft

fixed a bug where I used a literal instead of one of the user defined variables (thx mkz)
author epoch <epoch@hacking.allowed.org>
date Mon, 04 Nov 2013 11:56:20 +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