Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3773904
D603.id1470.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D603.id1470.diff
View Options
diff --git a/files/usr/local/bin/setup-phabricator b/files/usr/local/bin/setup-phabricator
--- a/files/usr/local/bin/setup-phabricator
+++ b/files/usr/local/bin/setup-phabricator
@@ -4,13 +4,13 @@
# MYSQL
bin/config set mysql.host mysql
-bin/config set mysql.pass $MYSQL_ENV_MYSQL_ROOT_PASSWORD
+bin/config set mysql.pass "$MYSQL_ENV_MYSQL_ROOT_PASSWORD"
if [ -n "$PHABRICATOR_STORAGE_NAMESPACE" ]; then
- bin/config set storage.default-namespace $PHABRICATOR_STORAGE_NAMESPACE
+ bin/config set storage.default-namespace "$PHABRICATOR_STORAGE_NAMESPACE"
fi
# URLs
-bin/config set phabricator.base-uri $PHABRICATOR_URL
+bin/config set phabricator.base-uri "$PHABRICATOR_URL"
if [ -n "$PHABRICATOR_ALT_FILE_DOMAIN" ]; then
bin/config set security.alternate-file-domain "$PHABRICATOR_ALT_FILE_DOMAIN"
fi
@@ -19,19 +19,19 @@
if [ -n "$PHABRICATOR_USE_MAILGUN" ]; then
bin/config set metamta.mail-adapter PhabricatorMailImplementationMailgunAdapter
if [ -n "$PHABRICATOR_DOMAIN" ]; then
- bin/config set mailgun.domain $PHABRICATOR_DOMAIN
+ bin/config set mailgun.domain "$PHABRICATOR_DOMAIN"
fi
if [ -n "$PHABRICATOR_MAILGUN_APIKEY" ]; then
- bin/config set mailgun.api-key $PHABRICATOR_MAILGUN_APIKEY
+ bin/config set mailgun.api-key "$PHABRICATOR_MAILGUN_APIKEY"
fi
fi
if [ -n "$PHABRICATOR_USE_SENDGRID" ]; then
bin/config set metamta.mail-adapter PhabricatorMailImplementationSendGridAdapter
if [ -n "$PHABRICATOR_SENDGRID_APIUSER" ]; then
- bin/config set sendgrid.api-user $PHABRICATOR_SENDGRID_APIUSER
+ bin/config set sendgrid.api-user "$PHABRICATOR_SENDGRID_APIUSER"
fi
if [ -n "$PHABRICATOR_SENDGRID_APIKEY" ]; then
- bin/config set sendgrid.api-key $PHABRICATOR_SENDGRID_APIKEY
+ bin/config set sendgrid.api-key "$PHABRICATOR_SENDGRID_APIKEY"
fi
fi
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 08:48 (3 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2262186
Default Alt Text
D603.id1470.diff (1 KB)
Attached To
Mode
D603: Add quotes to command arguments
Attached
Detach File
Event Timeline
Log In to Comment