2009-09-17 19:41:44 +00:00
|
|
|
#!/bin/sh
|
2009-10-21 11:43:43 +00:00
|
|
|
set -x
|
|
|
|
BDIR=~/b/ikiwiki
|
2009-10-21 11:47:59 +00:00
|
|
|
|
|
|
|
( cd "${BDIR}" && git describe )
|
|
|
|
|
2009-10-21 18:00:11 +00:00
|
|
|
START="$(date)"
|
2009-10-21 11:43:43 +00:00
|
|
|
PERL5LIB=${BDIR} ${BDIR}/ikiwiki.in \
|
|
|
|
--libdir ${BDIR} \
|
|
|
|
--templatedir ${BDIR}/templates \
|
|
|
|
-set underlaydir=${BDIR}/underlays \
|
|
|
|
-set underlaydirbase=${BDIR}/underlays \
|
|
|
|
--setup ikiwiki.setup \
|
2009-10-21 11:47:59 +00:00
|
|
|
"$@"
|
2009-10-21 18:00:11 +00:00
|
|
|
ret=$?
|
|
|
|
END="$(date)"
|
|
|
|
echo ${START} - ${END}: ikiwiki result: $?
|