Browse Source

Now really fix 14995

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273900 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
4edd860387
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Tar.java

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Tar.java View File

@@ -443,7 +443,7 @@ public class Tar extends MatchingTask {
SourceFileScanner sfs = new SourceFileScanner(this);
MergingMapper mm = new MergingMapper();
mm.setTo(tarFile.getAbsolutePath());
return sfs.restrict(files, baseDir, null, mm).length == 0;
return sfs.restrict(files, dir, null, mm).length == 0;
}

/**


Loading…
Cancel
Save