Skip to content

Commit fe391d4

Browse files
author
Mitchell Berger
committed
Make the sql signup's .my.cnf symlink relative
(Merge of r1437:1439 from branches/locker-dev to trunk) Legacy-ID: 1440
1 parent c3dddfe commit fe391d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/signup-sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ if [ ! -f "$lroot/.my.cnf" ]; then
8383
fs sa $lroot/.sql system:authuser none
8484
fs sa $lroot/.sql daemon.scripts write
8585
fs sa $lroot/.sql daemon.sql write
86-
ln -nfs $lroot/.sql/my.cnf $lroot/.my.cnf
86+
ln -nfs .sql/my.cnf $lroot/.my.cnf
8787
fi
8888

8989
if [ "$requires_sql" -eq 1 ]; then

sql/bin/save-password

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ host=sql.mit.edu
1212
user=$sqluser
1313
password=$sqlpass" > $lroot/.sql/my.cnf
1414

15-
ln -nfs $lroot/.sql/my.cnf $lroot/.my.cnf 2>/dev/null
15+
ln -nfs .sql/my.cnf $lroot/.my.cnf 2>/dev/null

0 commit comments

Comments
 (0)