From d511d9df9464cb4aa935994d330d355cde2fc7b2 Mon Sep 17 00:00:00 2001 From: Petros Angelatos Date: Mon, 21 Jul 2014 10:53:23 +0300 Subject: [PATCH] Set the 'RESIN' env var in user applications --- src/application.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/application.coffee b/src/application.coffee index dc8367d1..e2a87683 100644 --- a/src/application.coffee +++ b/src/application.coffee @@ -173,6 +173,7 @@ exports.update = -> remoteApps = _.map remoteApps, (app) -> env = RESIN_DEVICE_UUID: uuid + RESIN: '1' USER: 'root' if app.environment_variable? @@ -260,4 +261,4 @@ exports.updateDeviceInfo = updateDeviceInfo = (body) -> body: body customOptions: apikey: apiKey - ) \ No newline at end of file + )