s3:script: Fix running cp in modprinter.pl
authorAndreas Schneider <asn@samba.org>
Thu, 21 Mar 2019 15:06:05 +0000 (16:06 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 21 Mar 2019 16:41:33 +0000 (16:41 +0000)
commit52bf5c25261e343d3c1d4ea1a414ab74cf75d76c
treee17f64b654181dbdb070716a904f17b8ec6e8968
parent883436839aeb97b68ca18ae211199faa4448b5a0
s3:script: Fix running cp in modprinter.pl

We need to unset BASH_ENV or we get:
    Insecure $ENV{BASH_ENV} while running setgid

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Mar 21 16:41:33 UTC 2019 on sn-devel-144
source3/script/tests/printing/modprinter.pl