1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Fix a problem when using the --copying function. Perl's system() call

returns a zero on success and non-zero on failure.

Submitted by:	Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
This commit is contained in:
Steve Price 1999-11-24 22:12:56 +00:00
parent 03825be304
commit 80f3b33174
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=23304
9 changed files with 99 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- automake.in.orig Wed Nov 24 16:04:56 1999
+++ automake.in Wed Nov 24 16:07:15 1999
@@ -6907,7 +6907,7 @@
$trailer = "; error while making link: $!\n";
}
}
- elsif (! system ('cp', $am_dir . '/' . $file, $errfile))
+ elsif (system ('cp', $am_dir . '/' . $file, $errfile))
{
$suppress = 0;
$trailer = "\n error while copying\n";

View File

@ -0,0 +1,11 @@
--- automake.in.orig Wed Nov 24 16:04:56 1999
+++ automake.in Wed Nov 24 16:07:15 1999
@@ -6907,7 +6907,7 @@
$trailer = "; error while making link: $!\n";
}
}
- elsif (! system ('cp', $am_dir . '/' . $file, $errfile))
+ elsif (system ('cp', $am_dir . '/' . $file, $errfile))
{
$suppress = 0;
$trailer = "\n error while copying\n";

View File

@ -0,0 +1,11 @@
--- automake.in.orig Wed Nov 24 16:04:56 1999
+++ automake.in Wed Nov 24 16:07:15 1999
@@ -6907,7 +6907,7 @@
$trailer = "; error while making link: $!\n";
}
}
- elsif (! system ('cp', $am_dir . '/' . $file, $errfile))
+ elsif (system ('cp', $am_dir . '/' . $file, $errfile))
{
$suppress = 0;
$trailer = "\n error while copying\n";

View File

@ -0,0 +1,11 @@
--- automake.in.orig Wed Nov 24 16:04:56 1999
+++ automake.in Wed Nov 24 16:07:15 1999
@@ -6907,7 +6907,7 @@
$trailer = "; error while making link: $!\n";
}
}
- elsif (! system ('cp', $am_dir . '/' . $file, $errfile))
+ elsif (system ('cp', $am_dir . '/' . $file, $errfile))
{
$suppress = 0;
$trailer = "\n error while copying\n";

View File

@ -0,0 +1,11 @@
--- automake.in.orig Wed Nov 24 16:04:56 1999
+++ automake.in Wed Nov 24 16:07:15 1999
@@ -6907,7 +6907,7 @@
$trailer = "; error while making link: $!\n";
}
}
- elsif (! system ('cp', $am_dir . '/' . $file, $errfile))
+ elsif (system ('cp', $am_dir . '/' . $file, $errfile))
{
$suppress = 0;
$trailer = "\n error while copying\n";

View File

@ -0,0 +1,11 @@
--- automake.in.orig Wed Nov 24 16:04:56 1999
+++ automake.in Wed Nov 24 16:07:15 1999
@@ -6907,7 +6907,7 @@
$trailer = "; error while making link: $!\n";
}
}
- elsif (! system ('cp', $am_dir . '/' . $file, $errfile))
+ elsif (system ('cp', $am_dir . '/' . $file, $errfile))
{
$suppress = 0;
$trailer = "\n error while copying\n";

View File

@ -0,0 +1,11 @@
--- automake.in.orig Wed Nov 24 16:04:56 1999
+++ automake.in Wed Nov 24 16:07:15 1999
@@ -6907,7 +6907,7 @@
$trailer = "; error while making link: $!\n";
}
}
- elsif (! system ('cp', $am_dir . '/' . $file, $errfile))
+ elsif (system ('cp', $am_dir . '/' . $file, $errfile))
{
$suppress = 0;
$trailer = "\n error while copying\n";

View File

@ -0,0 +1,11 @@
--- automake.in.orig Wed Nov 24 16:04:56 1999
+++ automake.in Wed Nov 24 16:07:15 1999
@@ -6907,7 +6907,7 @@
$trailer = "; error while making link: $!\n";
}
}
- elsif (! system ('cp', $am_dir . '/' . $file, $errfile))
+ elsif (system ('cp', $am_dir . '/' . $file, $errfile))
{
$suppress = 0;
$trailer = "\n error while copying\n";

View File

@ -0,0 +1,11 @@
--- automake.in.orig Wed Nov 24 16:04:56 1999
+++ automake.in Wed Nov 24 16:07:15 1999
@@ -6907,7 +6907,7 @@
$trailer = "; error while making link: $!\n";
}
}
- elsif (! system ('cp', $am_dir . '/' . $file, $errfile))
+ elsif (system ('cp', $am_dir . '/' . $file, $errfile))
{
$suppress = 0;
$trailer = "\n error while copying\n";