about summary refs log tree commit diff stats
path: root/home-manager/packages/scripts/apps
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-05-18 12:18:45 +0200
committerSoispha <soispha@vhack.eu>2023-05-18 12:18:45 +0200
commitfb592f60955e5e5929a630e1c31b92bcf1c699e5 (patch)
tree6baa51e6586fdfea90b1e563267a9db35f6ce7a2 /home-manager/packages/scripts/apps
parentFix(hm/pkgs/scr/con2pdf): Actually create output directory (diff)
downloadnixos-config-fb592f60955e5e5929a630e1c31b92bcf1c699e5.tar.gz
nixos-config-fb592f60955e5e5929a630e1c31b92bcf1c699e5.zip
Fix(hm/pkgs/scr/con2pdf): Remove useless awk call
Diffstat (limited to '')
-rwxr-xr-xhome-manager/packages/scripts/apps/con2pdf2
1 files changed, 1 insertions, 1 deletions
diff --git a/home-manager/packages/scripts/apps/con2pdf b/home-manager/packages/scripts/apps/con2pdf
index 857aa3a6..2fb59d2d 100755
--- a/home-manager/packages/scripts/apps/con2pdf
+++ b/home-manager/packages/scripts/apps/con2pdf
@@ -86,7 +86,7 @@ scan() {
             convert "$scanned_image_a" -compress jpeg -quality 100 "$name"_"$counter".pdf
         fi
 
-    done < "$(tmp "fd . '$tiff_temp_path' | sort -n | awk -v dir='$tiff_temp_path' '{printf dir/\$0}' ")"
+    done < "$(tmp "fd . '$tiff_temp_path' | sort -n")"
 }
 
 for input in "$@"; do