lein-tar icon indicating copy to clipboard operation
lein-tar copied to clipboard

Semi-relative paths in tar file

Open kurtharriger opened this issue 9 years ago • 0 comments

  • tar xzf target/samza-streaming-0.1.1.tgz -C deploy/samza lib//Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/jre/../lib/tools.jar: Path contains '..' tar: Error exit delayed from previous errors

Should use .getCanonicalPath instead of .getAbsolutePath

kurtharriger avatar Feb 26 '15 21:02 kurtharriger