summaryrefslogtreecommitdiff
path: root/debian/bin/xsltproc
blob: 0e8b099f6ff6c11bd067818b4ea8548d57251721 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh

# This is an ugly workaround to get the manpages on every architecture to be
# identical. This hack forces the date in all of the builds to be the date of
# the latest source change in the changelog.
# see http://bugs.debian.org/726314

export TZ=UTC

FAKETIMEPROG=`which faketime`

if [ -x "$FAKETIMEPROG" -a -n "$SOURCE_DATE" ]
then
	$FAKETIMEPROG "$SOURCE_DATE" /usr/bin/xsltproc "$@"
else
	/usr/bin/xsltproc "$@"
fi