summaryrefslogtreecommitdiff
path: root/include/get.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-27 21:49:01 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-27 21:49:01 +0100
commit62d5fea0d254ef1bc66fc4b3871668e6090fc85a (patch)
tree48862ac15517504b1837026e38b0aae47d1088bf /include/get.sh
parentf66265eb6cce45bdf75604894e8bcb4052c3c99d (diff)
parent00d99adb5c1e0343bf889a260ea57b1292a3bc9c (diff)
Merge branch 'master' into 25.06_branch25.06_branch
Diffstat (limited to 'include/get.sh')
-rw-r--r--include/get.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/get.sh b/include/get.sh
index a3328454..4b31c7c9 100644
--- a/include/get.sh
+++ b/include/get.sh
@@ -106,8 +106,7 @@ try_file()
eval "[ -$echk \"$cached\" ] || return 1"
if [ "$2" = "git" ]; then
- [ -d "$5" ] || tmpclone "$cached" "$5" "$6" "$7" || \
- err "Can't clone final repo in command: try_file $*"; :
+ [ -d "$5" ] || tmpclone "$cached" "$5" "$6" "$7" || err; :
else
bad_checksum "$6" "$cached" && x_ rm -f "$cached" && return 1
[ "$cached" != "$5" ] && x_ cp "$cached" "$5"