aboutsummaryrefslogtreecommitdiff
path: root/buildtools/trang-not-found
blob: 56574ea84ad7b18e447a36688ac426aed5690a03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh -
# $Id$

/bin/cat <<EOF

WARNING:

trang XML schema converter not found on your system.  If you haven't
modified any of the RelaxNG source files, you can ignore this, as it's
probably a spurious warning caused by something stomping file
modification times in the source repository or your local build tree.

If you have modified the RelaxNG sources, you need to install trang
(see installation manual).

Suppressing this warning for file: $2

EOF

# You can thank Red Hat for the following silliness.

for touch in /usr/bin/touch /bin/touch
do
    if /bin/test -x $touch
    then
	$touch "$2"
	exit
    fi
done