From 377e3f4eed26ce886b4658ec3c5291782bbcebb7 Mon Sep 17 00:00:00 2001 From: Vincent Riquer Date: Tue, 26 Feb 2013 13:34:06 +0100 Subject: [PATCH] create constants readonly --- atom | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/atom b/atom index 5f78de1..fe164f2 100755 --- a/atom +++ b/atom @@ -28,10 +28,13 @@ declare -A \ exit $EBASHVERS } -DOCDIR=./doc -SHAREDIR=./share -exampleconf=$DOCDIR/example.cfg -schema=$SHAREDIR/schema.sql +declare -r \ + DOCDIR=./doc \ + SHAREDIR=./share \ + exampleconf=$DOCDIR/example.cfg \ + schema=$SHAREDIR/schema.sql \ + \ + oldIFS="$IFS" #parse arguments #parse config