add GUI elements to control 2in/2out panning. Probably not perfect. REQUIRES FULL...
[ardour.git] / gtk2_ardour / ardour.sh.in
index a08661785df13d2d22960febeb9003dca57752d1..63768e73448f1fb2a0ab5c2f8e5d9251709a78cf 100644 (file)
@@ -1,8 +1,8 @@
 #!/bin/sh
 
-export GTK_PATH=@INSTALL_PREFIX@/@LIBDIR@/ardour3:$GTK_PATH
+export GTK_PATH=@INSTALL_PREFIX@/@LIBDIR@/ardour3${GTK_PATH:+:$GTK_PATH}
 
-export LD_LIBRARY_PATH=@INSTALL_PREFIX@/@LIBDIR@/ardour3:$LD_LIBRARY_PATH 
+export LD_LIBRARY_PATH=@INSTALL_PREFIX@/@LIBDIR@/ardour3${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
 # DYLD_LIBRARY_PATH is for Darwin
 export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH
 
@@ -11,7 +11,7 @@ export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH
 MLOCK_LIMIT=$(ulimit -l)
 if [ "$MLOCK_LIMIT" != "unlimited" ]; then
        echo "WARNING: Your system has a limit for maximum amount of locked memory!"
-        echo "         This might cause Ardour to run out of memory before your system runs"
+       echo "         This might cause Ardour to run out of memory before your system runs"
        echo "         out of memory. You can view the memory limit with 'ulimit -l', and it"
        echo "         is normally controlled by /etc/security/limits.conf"
        echo ""