我下面这个tutorial是像的hello world为post-commit
有遇到问题post-commit钩子
我使用unbuntu 10.04。我安装svnnotify
跑$ which svnnotify
其输出:
在/ usr/bin中/ svnnotify
,所以我改成/usr/bin/svnnotify
我也试图改变线从/usr/local/bin/svnnotify
的turorial的路径: #!/bin/sh
到#!/bin/bash
因为bash是ubuntu 10.04中的登录shell。
我试图按照教程原来的方式运行它,包括我的更改以及两者的组合。
每次提交成功,但我得到
警告:post-commit钩子失败(退出 码1),没有输出。
原来的方式有我很新的Linux和shell脚本输出not found
,并已用尽一切我能想到的。我究竟做错了什么?