SPDX: Mass-update to GPL-2.0-or-later
[exim.git] / src / util / cramtest.pl
index cb70eb40461fc7c66e3b4eb72bc7e9e6b9e87b88..9fc797ba2158b56c9219dac39370071c9dd26d6d 100755 (executable)
@@ -1,4 +1,6 @@
 #!/usr/bin/perl
+# Copyright (c) The Exim Maintainers 2022
+# SPDX-License-Identifier: GPL-2.0-or-later
 
 # This script is contributed by Vadim Vygonets to aid in debugging CRAM-MD5
 # authentication.
@@ -24,6 +26,8 @@
 #       Vadim Vygonets <vadik-exim@vygo.net>.  All rights reserved.
 # Public domain is OK with me.
 
+BEGIN { pop @INC if $INC[-1] eq '.' };
+
 use MIME::Base64;
 use Digest::MD5;