about summary refs log tree commit diff stats
path: root/home-manager
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager')
-rwxr-xr-xhome-manager/packages/scripts/apps/con2pdf5
1 files changed, 1 insertions, 4 deletions
diff --git a/home-manager/packages/scripts/apps/con2pdf b/home-manager/packages/scripts/apps/con2pdf
index ae6d06bd..857aa3a6 100755
--- a/home-manager/packages/scripts/apps/con2pdf
+++ b/home-manager/packages/scripts/apps/con2pdf
@@ -65,12 +65,9 @@ scan() {
         fi
     done
 
+    mkdir "$output_directory";
     cd "$output_directory" || die "Bug"
 
-    # mk pdf
-    mkdir pdfs;
-    cd ./pdfs/  || die "Bug"
-
     counter=0;
     while read -r scanned_image_a;do
         if [ "$number_of_pages" -ne 1 ];then