1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-25 18:19:00 +02:00

($program_name): Define.

(main): Use $program_name, rather than long-inaccurate `build-script'.
This commit is contained in:
Jim Meyering
2001-08-12 17:37:18 +00:00
parent 105f262769
commit bdf06b6060
+3 -1
View File
@@ -10,6 +10,8 @@ require 5.002;
use strict;
use POSIX qw (assert);
(my $program_name = $0) =~ s|.*/||;
BEGIN { push @INC, '.' if '.' ne '.'; }
use Test;
@@ -214,7 +216,7 @@ sub wrap
print <<EOF1;
#! /bin/sh
# This script was generated automatically by build-script.
# This script was generated automatically by $program_name.
case \$# in
0\) xx='$xx';;
*\) xx="\$1";;