On 18. okt 2004, at 15:35, Mats Persson wrote:
So I am trying this inside a text doc in TM with no success. What's wrong ??
TM_PROJ_FILEPATH=`$TM_FILEPATH | sed "s|^$TM_SITES_DIRECTORY(.*)$|\1|"` echo $TM_PROJ_FILEPATH /bin/sh: line 1: /Volumes/WorkDisk/Users/mats/Sites/projectName/index.php: Permission denied
You want: TM_PROJ_FILEPATH=`echo $TM_FILEPATH | sed "s|^$TM_SITES_DIRECTORY(.*)$|\1|"` Instead I think.