e835d97bd28ec3ec59a0a0233093b5346d8bcd7a
[shellsnippets/shellsnippets.git] / posix / pbuilder-hooks / pbuildetch
1 #!/bin/mksh
2 # $MirOS: contrib/hosted/tg/deb/hookdir/pbuildetch,v 1.1 2009/12/07 20:48:20 tg Exp $
3 #-
4 # Not complicated enough for copyright.
5
6 unset LANG LANGUAGE LC_ADDRESS LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7     LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8     LC_TELEPHONE LC_TIME
9 export LC_ALL=C
10 exec sudo cowbuilder --hookdir $(realpath .)/pb-hook \
11     --debian-etch-workaround "$@"