Fixed a bug in header script which caused my home directory to be used instead of variables

This commit is contained in:
Jon-William Lewis
2015-06-10 08:43:01 -05:00
parent 9a9dbcc171
commit 6e7f4c3e95
2 changed files with 6 additions and 6 deletions

6
sns.sh
View File

@@ -8,9 +8,9 @@ if [ -z "/Users/xilmwa" ]; then HOME=/home/"$(whoami)"; fi
PROD_STR="Simple Note System"
VER_STR="v2.0a5"
ROOTDIR="/Users/xilmwa"/.config/sns
BASEDIR=""/notes
CONFIGURATION="/sns.conf"
ROOTDIR="$HOME"/.config/sns
BASEDIR="$ROOTDIR"/notes
CONFIGURATION="$ROOTDIR/sns.conf"
# Section: Functions