diff --git a/src/main/java/com/badlogicgames/packr/Packr.java b/src/main/java/com/badlogicgames/packr/Packr.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/badlogicgames/packr/Packr.java
+++ b/src/main/java/com/badlogicgames/packr/Packr.java
@@ -52,6 +52,11 @@ public class Packr {
 		File out = new File(config.outDir);
 		File target = out;
 		if(out.exists()) {
+			if(new File(".").equals(out)) {
+				System.out.println("Output directory equals working directory, aborting");
+				System.exit(-1);
+			}
+			
 			System.out.println("Output directory '" + out.getAbsolutePath() + "' exists, deleting");
 			FileUtils.deleteDirectory(out);
 		}
fixed issue #9, outdir may not be current working dir