when doing a pure copy of a region, which resets the position, reset the position...
[ardour.git] / gtk2_ardour / ardev
index f1b409182ab27f810a23f180beea306b571204cb..aee9a481023d257cf0baca0582fd7d8259fb3139 100755 (executable)
@@ -1,14 +1,4 @@
 #!/bin/sh
-
-export ARDOUR_GLADE_PATH=./glade
-
-if [ -x ./ardour.bin ] ; then 
-    # scons executable
-    export LD_LIBRARY_PATH=../libs/ardour
-    exec ./ardour.bin --novst --display=localhost:0.0 $*
-else 
-    # autofoo/make executable
-    export LD_LIBRARY_PATH=../libs/ardour
-    exec ./ardour --novst $*
-fi
-
+. `dirname "$0"`/../build/gtk2_ardour/ardev_common_waf.sh
+LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
+exec $TOP/$EXECUTABLE "$@"