Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-08-02 18:50:53 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-08-02 18:50:53 (GMT)
commit25879003d5a2f83b84fb66ef518523ed06587462 (patch)
tree41738fca04fcab2b495be2b98f02b2642c13b58c /scripts
parentc82d4f2f4570aa772239a57e69ca10903214993a (diff)
Fix wrong variable name
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/shell/start-sugar2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/shell/start-sugar b/scripts/shell/start-sugar
index 83c06c0..071dc61 100755
--- a/scripts/shell/start-sugar
+++ b/scripts/shell/start-sugar
@@ -10,7 +10,7 @@ if [ -f $rootdir/config ]; then
fi
if [ ! -z $SUGAR_PROFILE ]; then
- grep -q PROFILE $ROOT_DIR/config
+ grep -q PROFILE $rootdir/config
if [ $? -eq 1 ]; then
randomstring=`</dev/urandom tr -cd A-Za-z0-9 | head -c10`
echo "PROFILE=$randomstring" >> $ROOT_DIR/config