Don't assume Perl lives in /usr/bin; do a proper test for it.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1389 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/tests/vg_regtest.in b/tests/vg_regtest.in
index 688b698..e9b2a94 100755
--- a/tests/vg_regtest.in
+++ b/tests/vg_regtest.in
@@ -1,4 +1,4 @@
-#! /usr/bin/perl -w
+#! @PERL@ -w
 ##--------------------------------------------------------------------##
 ##--- Valgrind regression testing script                vg_regtest ---##
 ##--------------------------------------------------------------------##