projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: Improve wording in relocatable-maint.texi.
[gnulib.git]
/
build-aux
/
prefix-gnulib-mk
diff --git
a/build-aux/prefix-gnulib-mk
b/build-aux/prefix-gnulib-mk
index
7553f65
..
4d0518f
100755
(executable)
--- a/
build-aux/prefix-gnulib-mk
+++ b/
build-aux/prefix-gnulib-mk
@@
-189,10
+189,11
@@
sub process ($)
{
my ($file) = @_;
my ($bak) = "$file.bak";
{
my ($file) = @_;
my ($bak) = "$file.bak";
- rename ($file, $bak) or die;
+ rename ($file, $bak) or die
"$ME: rename $file $bak failed: $!\n"
;
my $contents = contents ($bak);
$contents = prefix ($contents);
my $contents = contents ($bak);
$contents = prefix ($contents);
- my $out = new IO::File(">$file") or die;
+ my $out = new IO::File(">$file")
+ or die "$ME: $file: failed to open for writing: $!\n";
print $out $contents;
}
print $out $contents;
}