diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-14 18:06:29 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-14 18:06:29 +0100 |
commit | 46f42291d3c1e9a3e5b34b6bd727f94cd512bc64 (patch) | |
tree | 3904f40a8b6b7310be495c5c09ca5d67d18ddf37 /include | |
parent | f29aa9c8d5983f39166d00997364a47f126ae401 (diff) |
get.sh: fix broken printf statement
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/get.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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; : } |