xxxxx@dev:~/tasktest$ pwd
/home/xxxxx/tasktest
xxxxx@dev:~/tasktest$ task no-dir dir-as-string dir-via-var incl:no-dir incl:dir-as-string incl:dir-via-var
task: [no-dir] echo dir: not set, pwd: $(pwd)
dir: not set, pwd: /home/xxxxx/tasktest
task: [dir-as-string] echo dir: /tmp, pwd: $(pwd)
dir: /tmp, pwd: /tmp
task: [dir-via-var] echo dir: /tmp, pwd: $(pwd)
dir: /tmp, pwd: /tmp
task: [incl:no-dir] echo dir: not set, pwd: $(pwd)
dir: not set, pwd: /home/xxxxx/tasktest
task: [incl:dir-as-string] echo dir: /tmp, pwd: $(pwd)
dir: /tmp, pwd: /tmp
task: [incl:dir-via-var] echo dir: /tmp, pwd: $(pwd)
dir: /tmp, pwd: /home/xxxxx/tasktest/tmp
xxxxx@dev:~/tasktest$ pwd
/home/xxxxx/tasktest
xxxxx@dev:~/tasktest$ task no-dir dir-as-string dir-via-var incl:no-dir incl:dir-as-string incl:dir-via-var
task: [no-dir] echo dir: not set, pwd: $(pwd)
dir: not set, pwd: /home/xxxxx/tasktest
task: [dir-as-string] echo dir: /tmp, pwd: $(pwd)
dir: /tmp, pwd: /tmp
task: [dir-via-var] echo dir: /tmp, pwd: $(pwd)
dir: /tmp, pwd: /tmp
task: [incl:no-dir] echo dir: not set, pwd: $(pwd)
dir: not set, pwd: /home/xxxxx/tasktest
task: [incl:dir-as-string] echo dir: /tmp, pwd: $(pwd)
dir: /tmp, pwd: /tmp
task: [incl:dir-via-var] echo dir: /tmp, pwd: $(pwd)
dir: /tmp, pwd: /home/xxxxx/tasktest/tmp