summaryrefslogtreecommitdiffstats
path: root/devel/gnu-automake/files/patch-ac
blob: 1b03190e88b00782eb86150b03826f50411ed30b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- automake.in	Fri Jan 15 14:42:36 1999
+++ automake.in	Tue Apr 18 09:10:36 2000
@@ -2367,7 +2367,7 @@
 	$output_rules .= "\t  d=\$(srcdir); \\\n";
     }
     $output_rules .= ("\t  if test -d \$\$d/\$\$file; then \\\n"
-		      . "\t    cp -pr \$\$/\$\$file \$(distdir)/\$\$file; \\\n"
+		      . "\t    cp -pr \$\$d/\$\$file \$(distdir)/\$\$file; \\\n"
 		      . "\t  else \\\n"
 		      . "\t    test -f \$(distdir)/\$\$file \\\n"
 		      . "\t    || ln \$\$d/\$\$file \$(distdir)/\$\$file 2> /dev/null \\\n"
@@ -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";
OpenPOWER on IntegriCloud