aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/tutorial/build-pd-linux.sh
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/tutorial/build-pd-linux.sh')
-rw-r--r--externals/grill/flext/tutorial/build-pd-linux.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/externals/grill/flext/tutorial/build-pd-linux.sh b/externals/grill/flext/tutorial/build-pd-linux.sh
index bd11c6c4..413650f7 100644
--- a/externals/grill/flext/tutorial/build-pd-linux.sh
+++ b/externals/grill/flext/tutorial/build-pd-linux.sh
@@ -1,4 +1,11 @@
-#!/bin/sh
+#!/bin/sh
-make -f makefile.pd-linux
+. config-pd-linux.txt
+make -f makefile.pd-linux &&
+{
+ if [ $INSTPATH != "" ]; then
+ echo Now install as root
+ su -c "make -f makefile.pd-linux install"
+ fi
+}