Skip to content

Conversation

@jaceju
Copy link
Contributor

@jaceju jaceju commented Jun 26, 2012

原來的 script/scripts 有用到,所以我改成只用 bin 資料夾就好。

@c9s
Copy link
Member

c9s commented Jun 26, 2012

感謝你的 patch :-)

我建議 script role 吃 bin/ 目錄就好, 不然像現在底下 scripts/ 的很多就會被裝到同一個空間,會造成混亂

@jaceju
Copy link
Contributor Author

jaceju commented Jun 26, 2012

其實用法上還是有很多比較困惑的地方,因為後來發現有 roles 這個設定,但是看不太出來它會被怎麼利用。

這個 Patch 如果跟現在功能衝突的話,可以忽略。

慢慢會從 Source Code 再看看有沒有我沒仔細看到的功能的。

@jaceju jaceju closed this Jun 26, 2012
@jaceju
Copy link
Contributor Author

jaceju commented Jun 26, 2012

發現還是用你原來的寫法比較好,不過這邊我會用文章來寫一下說明。

@c9s
Copy link
Member

c9s commented Jun 26, 2012

OK!

@jaceju
Copy link
Contributor Author

jaceju commented Jun 28, 2012

我後來發現你原來的作法要把 shell script 放在最外面才行,如果放在自訂的 bin 資料夾底下的話,它在安裝時會安裝到 bin/bin 底下。

@c9s
Copy link
Member

c9s commented Jun 28, 2012

所以應該是要把 dirname 去掉,只留下 basename :-)

@jaceju
Copy link
Contributor Author

jaceju commented Jun 28, 2012

已經重新提交新的程式碼了。

@c9s
Copy link
Member

c9s commented Jun 28, 2012

感謝 :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants