projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
105f262
)
($program_name): Define.
author
Jim Meyering
<jim@meyering.net>
Sun, 12 Aug 2001 17:37:18 +0000
(17:37 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 12 Aug 2001 17:37:18 +0000
(17:37 +0000)
(main): Use $program_name, rather than long-inaccurate `build-script'.
tests/mk-script
patch
|
blob
|
history
diff --git
a/tests/mk-script
b/tests/mk-script
index
6b055b5
..
a0fab2c
100755
(executable)
--- a/
tests/mk-script
+++ b/
tests/mk-script
@@
-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";;