summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2011-05-30 22:09:58 -0700
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2011-05-30 22:09:58 -0700
commitcd3ea35e724757aa86f6db16afb16dd280c303f4 (patch)
treed770046519fe7ec29127bf0e3ee39476f3daa364
parent383357ea4b083d224ab2fcf3d58321b8667c578a (diff)
parent6bba75fa3e0b362bdd58656bad21f0530530fef3 (diff)
downloadpiny-code-cd3ea35e724757aa86f6db16afb16dd280c303f4.tar.gz
piny-code-cd3ea35e724757aa86f6db16afb16dd280c303f4.zip
Merge branch 'master' of piny.be:/srv/git/piny-code
-rwxr-xr-xpinyweb/cgi-bin/auth/cgit6
1 files changed, 6 insertions, 0 deletions
diff --git a/pinyweb/cgi-bin/auth/cgit b/pinyweb/cgi-bin/auth/cgit
new file mode 100755
index 0000000..f308bf6
--- /dev/null
+++ b/pinyweb/cgi-bin/auth/cgit
@@ -0,0 +1,6 @@
+#!/usr/bin/perl
+$| = 1;
+
+use warnings;
+
+system( '/usr/sbin/piny-suid', $ENV{'REMOTE_USER'}, 'cgit' );