projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4311ab
)
reversed sense of differ when given two arguments.
author
Chris Koeritz
<fred@gruntose.com>
Fri, 9 Mar 2012 21:19:10 +0000
(16:19 -0500)
committer
Chris Koeritz
<fred@gruntose.com>
Fri, 9 Mar 2012 21:19:10 +0000
(16:19 -0500)
scripts/text/differ.pl
patch
|
blob
|
history
diff --git
a/scripts/text/differ.pl
b/scripts/text/differ.pl
index cd1c3353ea50f47d4ef47ef1c4db007939019cd4..185414062f616ee787fedc58678260e21c140a22 100644
(file)
--- a/
scripts/text/differ.pl
+++ b/
scripts/text/differ.pl
@@
-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.