&differ_instructions;
return;
}
- if (-l $compare_directory) {
- # we will not operate on links, due to recursion issues.
-## &differ_instructions;
- print "skipping link: $compare_directory\n";
- return;
- }
+# if (-l $compare_directory) {
+# # we will not operate on links, due to recursion issues.
+### &differ_instructions;
+# print "skipping link: $compare_directory\n";
+# return;
+# }
if (! -d $compare_directory) {
# a missing directory is just not good.
print "skipping missing directory: $compare_directory\n";
$source_directory = $arguments[1];
}
$source_directory = &sanitize_name($source_directory);
- if (-l $source_directory) {
- # we will not operate on links, due to recursion issues.
-# &differ_instructions;
- print "skipping link: $source_directory\n";
- return;
- }
+# if (-l $source_directory) {
+# # we will not operate on links, due to recursion issues.
+## &differ_instructions;
+# print "skipping link: $source_directory\n";
+# return;
+# }
if (! -d $source_directory) {
# a missing directory is just not good.
print "skipping missing directory: $source_directory\n";
specify a target directory where there are files which are mostly similar
to the files in this directory. The files in the current directory are
compared to those in the specified target directory and the differences
-are sent to the standard output. Note that neither directory may be
-a symbolic link, as that can lead to crazy recursion.
+are sent to the standard output.
";
}
+#Note that neither directory may be a symbolic link, as that can lead to crazy recursion.
############################################################################
&cpdiff_instructions;
return;
}
- if (-l $source_directory) {
- # we will not operate on links, due to recursion issues.
- &cpdiff_instructions;
- return;
- }
+# if (-l $source_directory) {
+# # we will not operate on links, due to recursion issues.
+# &cpdiff_instructions;
+# return;
+# }
# get the comparison directory from the arguments.
local($compare_directory) = &sanitize_name($arguments[1]);
&cpdiff_instructions;
return;
}
- if (-l $compare_directory) {
- # we will not operate on links, due to recursion issues.
- &cpdiff_instructions;
- return;
- }
+# if (-l $compare_directory) {
+# # we will not operate on links, due to recursion issues.
+# &cpdiff_instructions;
+# return;
+# }
# print "src=$source_directory, dest=$compare_directory\n";