updated to get closer to building using cygwin, which is difficult because
[feisty_meow.git] / scripts / text / differ.pl
index 77de67da68b46c562927f7f47e91723d4b1253be..185414062f616ee787fedc58678260e21c140a22 100644 (file)
@@ -35,8 +35,9 @@ if ($#ARGV < 0) {
 local($destination) = $ARGV[0];
 local($source) = ".";
 if ($#ARGV > 0) {
-  # get the location they provided.
-  $source = $ARGV[1];
+  # use both the locations they provided.
+  $source = $ARGV[0];
+  $destination = $ARGV[1];
 }
 
 # make the names a little more manipulable.
@@ -107,7 +108,7 @@ sub recurse_dirs
     &diff_dirs($dest, $src);
   } else {
     print "$break_line\n";
-    print "Source exists at \"$src\", but target does not.\n";
+    print "Source directory has \"$src\", but target does not.\n";
   }
 
   # iterate through the directory.