blob: 14b822353fa82c8683648b1d15878f601af7f372 (
plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#!/bin/sh
set -e
echo -n "Checking "
for BUILDINFO in */*/*.buildinfo
do
if grep 'TERM=' "${BUILDINFO}"
then
echo
echo "${BUILDINFO}: fix TERM="
fi
if ! grep '^Build-Date: .* +0000$' "${BUILDINFO}"
then
echo
echo "${BUILDINFO}: fix Build-Date"
fi
if ! grep -qs "^Build-Path: .*progress[0-9]u[0-9]$" "${BUILDINFO}" && \
! grep -qs "^Build-Path: .*progress[0-9]+u[0-9]$" "${BUILDINFO}"
then
echo
echo "${BUILDINFO}: fix Build-Path"
fi
if grep -qs '^ DEB_BUILD_OPTIONS=' "${BUILDINFO}"
then
echo
echo "${BUILDINFO}: fix DEB_BUILD_OPTIONS"
fi
if ! grep -qs '^ LANG="C.UTF-8"' "${BUILDINFO}"
then
echo
echo "${BUILDINFO}: missing LANG"
fi
if ! grep -qs '^ LC_ALL="C.UTF-8"' "${BUILDINFO}"
then
echo
echo "${BUILDINFO}: missing LC_ALL"
fi
echo -n "."
done
echo " done."
|