Skip to content
Snippets Groups Projects
Commit 2278bce0 authored by Boman Romain's avatar Boman Romain
Browse files

fix undefined variables

parent e2b34213
No related branches found
No related tags found
No related merge requests found
......@@ -52,6 +52,7 @@ function fct_loop()
{
umask 007
verb=
#verb=1 #uncomment to debug script
if [ -n "$verb" ] ; then
......@@ -64,6 +65,8 @@ function fct_loop()
# echo "var=$var"
#done
thisdir="$HOME/bin/cfg"
if [ "x$2" != "x" ] && [ -d "$thisdir/$2" ]; then
myhost=$2
else
......@@ -71,8 +74,6 @@ function fct_loop()
fi
#echo "myhost=" $myhost
thisdir="$HOME/bin/cfg"
# default cfg
for i in $thisdir/default/*.$1 ; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment