aboutsummaryrefslogtreecommitdiff
path: root/files/drupal
diff options
context:
space:
mode:
Diffstat (limited to 'files/drupal')
-rwxr-xr-xfiles/drupal3
1 files changed, 3 insertions, 0 deletions
diff --git a/files/drupal b/files/drupal
index 948ed43..b2587fb 100755
--- a/files/drupal
+++ b/files/drupal
@@ -7,6 +7,9 @@ BASE=${BASE:="/var/www/data"}
SITES=${SITES:="$BASE/drupal"}
SERIES="5 6 7"
+# Ensure we have a proper path, useful when called through cron
+export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
+
# Read a parameter from user
function drupal_user_input {
local input