Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (10 sloc) 0.387 kB
#! /bin/sh -e
. /etc/interchange/init.cfg
OPTS="--interchangeuser=$USER --linkprogram=/usr/lib/cgi-bin/ic/vlink --documentroot=$DOCROOT --catalogconf=/etc/interchange/catalogs.cfg"
CMD="/usr/lib/interchange/bin/makecat $OPTS $@"
if [ "$UID" -eq 0 ]; then
su -s /bin/sh -c "$CMD" $USER
else
OPTS="$OPTS --nocfg --norunning"
/usr/lib/interchange/bin/makecat -c makecat.cfg $OPTS $@
fi
Jump to Line
Something went wrong with that request. Please try again.