From 14c693f2eabbe45c39aab56b0440ae778c638a00 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Wed, 25 Sep 2019 15:56:04 +0200 Subject: [PATCH] Squashed 'clickslide/' changes from 08ca3fa..eb622bf eb622bf prevent broken output when uuencoding images git-subtree-dir: clickslide git-subtree-split: eb622bffd26adb3d2770c0c37e17c652699ffc20 --- clickslide.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clickslide.sh b/clickslide.sh index d42f405..b1fd229 100755 --- a/clickslide.sh +++ b/clickslide.sh @@ -5,7 +5,7 @@ depth=0 ucdepth=-1 _base64() { # busybox does not ship base64, only uuencode. Other platforms might need base64 instead - if which uuencode; then + if which uuencode >/dev/null; then uuencode -m - <"$1" \ | sed '1d; :X;$!{N;bX;}; s;\n;;g; s;=\+;;g;' else -- 2.39.2