From 46f42291d3c1e9a3e5b34b6bd727f94cd512bc64 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 14 May 2025 18:06:29 +0100 Subject: get.sh: fix broken printf statement Signed-off-by: Leah Rowe --- include/get.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/get.sh b/include/get.sh index e2aaf70b..7d728796 100644 --- a/include/get.sh +++ b/include/get.sh @@ -127,8 +127,8 @@ try_curl() try_copy() { - [ -L "$2" ] && printf "symlink %s (try_cp %s)\n" "$2" "$*" && return 1 - [ ! -f "$2" ] && "no such file %s (try_cp %s)\n" "$2" "$*" && return 1 + [ -L "$2" ] && printf "symlink %s (trycp %s)\n" "$2" "$*" && return 1 + [ ! -f "$2" ] && printf "%s missing (trycp %s)\n" "$2" "$*" && return 1 ( x_ cp "$2" "$1" ) || return 1; : } -- cgit v1.2.1