Fix NSM for distro-builds (waf install)

This commit is contained in:
Robin Gareus 2017-10-31 15:26:29 +01:00
parent 3b785b9d35
commit 8e8168547b
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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