Go ahead and create the link_dir if it doesn't exist
authorZygo Blaxell <zblaxell@esightcorp.com>
Thu, 13 May 2010 21:20:32 +0000 (17:20 -0400)
committerZygo Blaxell <zblaxell@esightcorp.com>
Thu, 13 May 2010 21:20:32 +0000 (17:20 -0400)
dm6

diff --git a/dm6 b/dm6
index 9b614cd..0dcfab5 100755 (executable)
--- a/dm6
+++ b/dm6
@@ -67,7 +67,7 @@ sub link_files {
 }
 
 my $link_dir = shift @ARGV;
-(-d $link_dir) or usage;
+usage unless $link_dir;
 
 my $prefix_length = 3;