Why my shell script doesn't work in Alfred 2 Workflow -


i wrote script this,

#!/bin/sh hexo=/users/cinvro/nvm/v0.10.15/bin/hexo cd ~/work/hexo/cinvro.com/ $hexo generate 

it works when execute in terminal,but doesn't work when put in alfred2 workflow.

hexo here node.js program.

it might ~ problem, replace absolute path:

#!/bin/sh hexo=/users/cinvro/nvm/v0.10.15/bin/hexo cd /users/cinvro/work/hexo/cinvro.com/ $hexo generate 

Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -