aboutsummaryrefslogtreecommitdiff
path: root/.app/lib/app-common
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-01-11 09:08:02 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-01-11 09:08:02 +0100
commitca27d6f6d9ccc35bf55db3d360d1d464d5e206e7 (patch)
tree8ede6e192f4b3bd6b7befcbf3bebeabad67f8f3f /.app/lib/app-common
parent5cf3abf29e3451ce2a86cfa400e36cbb53552354 (diff)
downloadapp.sh-ca27d6f6d9ccc35bf55db3d360d1d464d5e206e7.tar.gz
app.sh-ca27d6f6d9ccc35bf55db3d360d1d464d5e206e7.tar.bz2
app.sh-ca27d6f6d9ccc35bf55db3d360d1d464d5e206e7.tar.xz
app.sh-ca27d6f6d9ccc35bf55db3d360d1d464d5e206e7.zip
o Getting environment variables with space in them to work.v0.1-dev
Diffstat (limited to '.app/lib/app-common')
-rw-r--r--.app/lib/app-common3
1 files changed, 3 insertions, 0 deletions
diff --git a/.app/lib/app-common b/.app/lib/app-common
index 3856430..fabdad4 100644
--- a/.app/lib/app-common
+++ b/.app/lib/app-common
@@ -134,6 +134,9 @@ run_app() {
cd current
e="`get_conf_in_group $apps $name $instance env`"
+ # This magically get the expansion of $u correct.
+ IFS="
+"
# Set a default PATH which can be overridden by the application's settings
set +e