From 83c24f2fb273c34d4459e285eb835db2927fd426 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Mon, 2 Sep 2024 16:26:21 +0200 Subject: [PATCH] scripts: Fix overpdf in Nix --- hm/scripts/overpdf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hm/scripts/overpdf b/hm/scripts/overpdf index 32cbcd6..310d8aa 100755 --- a/hm/scripts/overpdf +++ b/hm/scripts/overpdf @@ -1,7 +1,9 @@ #!/usr/bin/env nix-shell -#! nix-shell -i bash --pure +#! nix-shell -i bash #! nix-shell -p bash pdftk inkscape gnused coreutils file +set -euxo pipefail + # Utility to write over a PDF file pages # TODO Inkscape vodoo: Put the original in its own layer and skip when merging