7ecfdceddc533e71642751647c13aae529bbde5c
[shellsnippets/shellsnippets.git] / posix / pbuilder-hooks / pbuild
1 #!/bin/mksh
2 # $MirOS: contrib/hosted/tg/deb/hookdir/pbuild,v 1.1 2009/12/07 20:48:19 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 "$@"