source: server/common/oursrc/execsys/git @ 852

Last change on this file since 852 was 852, checked in by andersk, 14 years ago
Call git daemon with no dash (dashed commands are removed in Git 1.6).
  • Property svn:executable set to *
File size: 199 bytes
Line 
1#!/bin/sh
2
3export HOME=$(echo ~)
4
5case "$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    ;;
15esac
Note: See TracBrowser for help on using the repository browser.