Fixed bug in header script which caused default home directory to be mine, instead of $(whoami)

This commit is contained in:
Jon-William Lewis
2015-06-10 08:39:49 -05:00
parent d70d3b4312
commit 9a9dbcc171
2 changed files with 2 additions and 2 deletions

2
sns.sh
View File

@@ -4,7 +4,7 @@
# Copyright 2014, Xenese Labs/Sicron-Perion XNF
#==========================================================
if [ -z "/Users/xilmwa" ]; then HOME=/home/xilmwa; fi
if [ -z "/Users/xilmwa" ]; then HOME=/home/"$(whoami)"; fi
PROD_STR="Simple Note System"
VER_STR="v2.0a5"