mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 12:20:07 +00:00
Squashed 'gitstatus/' changes from 2ecd9907..edd92f62
edd92f62 build: more debug info in case wget fails 1cfcb46c build: add a workaround for systems with broken wget git-subtree-dir: gitstatus git-subtree-split: edd92f6210afb16411274e1d6060c6a68bd1e999
This commit is contained in:
parent
80ec734a95
commit
10ad57cc6b
1 changed files with 10 additions and 6 deletions
16
build
16
build
|
@ -275,12 +275,16 @@ if [ ! -e "$libgit2_tarball" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
libgit2_url=https://github.com/romkatv/libgit2/archive/"$libgit2_version".tar.gz
|
libgit2_url=https://github.com/romkatv/libgit2/archive/"$libgit2_version".tar.gz
|
||||||
if ! command wget -O "$libgit2_tmp" -- "$libgit2_url"; then
|
if ! >"$libgit2_tmp" command wget --no-config -qO- -- "$libgit2_url" &&
|
||||||
command which wget
|
! >"$libgit2_tmp" command wget -qO- -- "$libgit2_url"; then
|
||||||
command ls -lAd -- "$outdir"
|
set -x
|
||||||
command ls -lA -- "$outdir"
|
>&2 command which wget
|
||||||
command ls -lAd -- "$outdir"/deps
|
>&2 command ls -lAd -- "$(command which wget)"
|
||||||
command ls -lA -- "$outdir"/deps
|
>&2 command ls -lAd -- "$outdir"
|
||||||
|
>&2 command ls -lA -- "$outdir"
|
||||||
|
>&2 command ls -lAd -- "$outdir"/deps
|
||||||
|
>&2 command ls -lA -- "$outdir"/deps
|
||||||
|
set +x
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
command mv -f -- "$libgit2_tmp" "$libgit2_tarball"
|
command mv -f -- "$libgit2_tmp" "$libgit2_tarball"
|
||||||
|
|
Loading…
Reference in a new issue