From 0f13d6b12dcd2ec93464183b3ce54bb5d5253112 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Fri, 9 Feb 2018 15:32:04 +0000
Subject: [PATCH] no alias

---
 src/freedombone-app-peertube | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/freedombone-app-peertube b/src/freedombone-app-peertube
index db4dbc23..583caf74 100755
--- a/src/freedombone-app-peertube
+++ b/src/freedombone-app-peertube
@@ -777,8 +777,8 @@ function install_peertube {
         echo $'Failed to install local npm version 5.6.0'
         exit 45465774
     fi
-    alias npm-exec='PATH=$(npm bin):$PATH'
-    npm-exec npm install node@9.5.0
+    PATH=$(npm bin):$PATH
+    npm install node@9.5.0
     if [ ! "$?" = "0" ]; then
         echo $'Failed to install local nodejs version 9.5.0'
         exit 54875459
@@ -793,18 +793,18 @@ function install_peertube {
         echo $'Failed to install yarn'
         exit 578947946
     fi
-    npm-exec yarn add -D webpack --network-concurrency 1
-    #npm-exec yarn install --non-interactive
+    yarn add -D webpack --network-concurrency 1
+    #yarn install --non-interactive
     #if [ ! "$?" = "0" ]; then
     #    echo $'Failed to run yarn install'
     #    exit 63754235
     #fi
-    npm-exec npm install
+    npm install
     if [ ! "$?" = "0" ]; then
         echo $'Failed to install peertube'
         exit 7835243
     fi
-    npm-exec npm run build
+    npm run build
     if [ ! "$?" = "0" ]; then
         echo $'Failed to build peertube'
         exit 5293593