[services] call env-update with full path

This commit is contained in:
Fabio Erculiani
2011-08-21 10:53:33 +02:00
parent d490a84b84
commit 247e6fcc10

View File

@@ -17,7 +17,7 @@ cd "${PARTICLES_DIR}" || exit 1
git pull || exit 1
particles=$(find "${PARTICLES_DIR}" -name "*.particle" | xargs)
if [ -n "${particles}" ]; then
env-update
/usr/sbin/env-update
. /etc/profile
matter ${MATTER_ARGS} ${particles}
exit ${?}