]> sjero.net Git - wget/blobdiff - build-aux/build_info.pl
Use /usr/bin/env to find the perl interpreter.
[wget] / build-aux / build_info.pl
index 372fe42ed2498339eb08c18b2f8477d58d8a961a..eb34ae513c911178df005b10f07e18c71a377bef 100755 (executable)
@@ -1,8 +1,8 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 # Generate build_info.c.
 
-# Copyright (C) 2009 Free Software Foundation, Inc.
+# Copyright (C) 2009, 2010 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -78,7 +78,7 @@ sub output_code
 
     print $fh do { local $/; <DATA> }, "\n";
     print $fh <<EOC;
-const char* (compiled_features[]) =
+const char *compiled_features[] =
 {
 
 EOC