]> git.scottworley.com Git - picsort/commitdiff
mkdir -p sm
authorScott Worley <scottworley@scottworley.com>
Sun, 11 May 2014 07:23:48 +0000 (00:23 -0700)
committerScott Worley <scottworley@scottworley.com>
Sun, 11 May 2014 07:23:48 +0000 (00:23 -0700)
pics-preprocess

index 6563cab5afb15d4d500d9d70da474b24b7c7525e..a67f460eb1ef665efa132da12459b78fde222bf3 100755 (executable)
@@ -29,6 +29,7 @@ for f;do
     if [[ -s "sm/$f" ]];then
       echo "Skipping sm/$f"
     else
     if [[ -s "sm/$f" ]];then
       echo "Skipping sm/$f"
     else
+      mkdir -p sm
       convert "$f" -geometry "x$SMALLHEIGHT" "sm/$f"
     fi
   fi
       convert "$f" -geometry "x$SMALLHEIGHT" "sm/$f"
     fi
   fi