]> sourceware.org Git - automake.git/commitdiff
(handle_dist_worker) [generating rules for distdir]:
authorJim Meyering <jim@meyering.net>
Sat, 4 Mar 2000 08:55:19 +0000 (08:55 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 4 Mar 2000 08:55:19 +0000 (08:55 +0000)
Don't use `ln' (which was just a space optimization anyway) to
populate $(distdir).  Otherwise, the dist rules that change
permissions would end up affecting the master sources.

automake.in

index da265cfada11309810f0c5112d9d9f9956b41e4e..223c721c2750eb7efd8ef90db086f69ce297ebe3 100755 (executable)
@@ -2666,7 +2666,6 @@ sub handle_dist_worker
                      . "\t    cp -pR \$\$d/\$\$file \$(distdir); \\\n"
                      . "\t  else \\\n"
                      . "\t    test -f \$(distdir)/\$\$file \\\n"
-                     . "\t    || ln \$\$d/\$\$file \$(distdir)/\$\$file 2> /dev/null \\\n"
                      . "\t    || cp -p \$\$d/\$\$file \$(distdir)/\$\$file || :; \\\n"
                      . "\t  fi; \\\n"
                      . "\tdone\n");
This page took 0.035228 seconds and 5 git commands to generate.