From 290b1f1fef3585652188ace78b97c6d350bbabde Mon Sep 17 00:00:00 2001 From: William Mantly Date: Thu, 16 Jun 2016 23:17:43 -0400 Subject: [PATCH] stuff --- routes/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/routes/index.js b/routes/index.js index 1472c27..48148bf 100644 --- a/routes/index.js +++ b/routes/index.js @@ -10,19 +10,19 @@ var install_dir = '/var/www/gitwrapper/' var calls = { create: function(req, res, name, sshURL){ - return exec('bash create.sh '+name+' '+sshURL, function(err, stdout, stderr){ + return exec('bash /var/www/gitdeploy/create.sh '+name+' '+sshURL, function(err, stdout, stderr){ console.log(err, stdout, stderr); return res.json({ title: 'Express' }); }); }, update: function(req, res, name, sshURL){ - return exec('bash update.sh '+name+' '+sshURL, function(err, stdout, stderr){ + return exec('bash /var/www/gitdeploy/update.sh '+name+' '+sshURL, function(err, stdout, stderr){ console.log(err, stdout, stderr); return res.json({ title: 'Express' }); }); }, delete: function(req, res, name, sshURL){ - return exec('bash delete.sh '+name+' '+sshURL, function(err, stdout, stderr){ + return exec('bash /var/www/gitdeploy/delete.sh '+name+' '+sshURL, function(err, stdout, stderr){ console.log(err, stdout, stderr); return res.json({ title: 'Express' }); });