Fix NSM for distro-builds (waf install)
This commit is contained in:
parent
3b785b9d35
commit
8e8168547b
@ -51,7 +51,7 @@ export ARDOUR_DLL_PATH=@LIBDIR@
|
||||
# NSM needs a path to this script
|
||||
#
|
||||
|
||||
export ARDOUR_SELF="$0"
|
||||
export ARDOUR_SELF=$(basename "$0")
|
||||
|
||||
#
|
||||
# VAMP has its own lookup path
|
||||
|
@ -1107,7 +1107,7 @@ ARDOUR_UI::starting ()
|
||||
* The wrapper startup script should set the environment variable 'ARDOUR_SELF'
|
||||
*/
|
||||
const char *process_name = g_getenv ("ARDOUR_SELF");
|
||||
nsm->announce (PROGRAM_NAME, ":dirty:", process_name ? process_name : "ardour4");
|
||||
nsm->announce (PROGRAM_NAME, ":dirty:", process_name ? process_name : "ardour6");
|
||||
|
||||
unsigned int i = 0;
|
||||
// wait for announce reply from nsm server
|
||||
|
Loading…
Reference in New Issue
Block a user