using the latest legato-spm 16-01
and
source ~/legato/packages/legato.sdk.latest/resources/configlegatoenv
// command line build apps
mkapp -v -t wp85 -i $LEGATO_ROOT/interfaces/airVantage assetDataTutorial.adef
works
But
mkapp -v -t wp85 -i $(LEGATO_ROOT)/interfaces/airVantage assetDataTutorial.adef
// fails like this
WARNING:root:could not open file '/etc/apt/sources.list.d/devstudio.list'
LEGATO_ROOT: command not found
...
Any ideas?