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