source:
server/common/oursrc/execsys/git
@
874
| Last change on this file since 874 was 852, checked in by andersk, 17 years ago | |
|---|---|
|
|
| File size: 199 bytes | |
| Rev | Line | |
|---|---|---|
| [849] | 1 | #!/bin/sh |
| 2 | ||
| 3 | export HOME=$(echo ~) | |
| 4 | ||
| 5 | case "$1" in | |
| 6 | */.. | */../*) | |
| 7 | exit 1 | |
| 8 | ;; | |
| 9 | ${HOME%/Scripts}/Scripts/git/*) | |
| [852] | 10 | exec /usr/bin/git daemon --inetd --base-path="$1" |
| [849] | 11 | ;; |
| 12 | *) | |
| 13 | exit 1 | |
| 14 | ;; | |
| 15 | esac |
Note: See TracBrowser
for help on using the repository browser.
