File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 8
8
9
9
DRUPAL_SITE_DIR=${OPENSHIFT_DATA_DIR} sites
10
10
DRUPAL_PRIVATE_DIR=${OPENSHIFT_DATA_DIR} private
11
- DRUPAL_FILES_DIR=${DRUPAL_SITE_DIR} default/files
12
- DRUPAL_SETTINGS=${DRUPAL_SITE_DIR} default/settings.php
11
+ DRUPAL_FILES_DIR=${DRUPAL_SITE_DIR} / default/files
12
+ DRUPAL_SETTINGS=${DRUPAL_SITE_DIR} / default/settings.php
13
13
if [ ` which drush` ]
14
14
then
15
15
DRUSH_SCRIPT=` which drush`
52
52
exit 6
53
53
fi
54
54
55
- mkdir -p ${DRUPAL_SITE_DIR} /default
55
+ mkdir -p ${DRUPAL_FILES_DIR}
56
56
mkdir -p ${DRUPAL_PRIVATE_DIR}
57
57
58
58
pushd ${OPENSHIFT_REPO_DIR} php
72
72
cp ${DRUPAL_SITE_DIR} /default/{default.,}settings.php
73
73
fi
74
74
75
- # Similarly, make a files directory.
76
- if [ ! -d " $DRUPAL_FILES_DIR " ]
77
- then
78
- mkdir -p ${DRUPAL_FILES_DIR}
79
- fi
80
-
81
75
#
82
76
# Tweak settings.php to use the OpenShift environment variables instead of
83
77
# the values passed to Drush.
You can’t perform that action at this time.
0 commit comments