summaryrefslogtreecommitdiff
path: root/include/get.sh
diff options
context:
space:
mode:
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"