diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2021-08-18 18:05:04 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2021-08-18 18:05:04 +0300 |
commit | 80ec734a953d930838ea6839923c97c3da880a0d (patch) | |
tree | c47aa12434ae72adf40e9add03245ae58b6b697e /build | |
parent | 799c22f63b93e9d1ab8f01473bf9ebd2e9750f43 (diff) |
Squashed 'gitstatus/' changes from 845f492f..2ecd9907
2ecd9907 add logging to debug https://github.com/romkatv/powerlevel10k/issues/1477
74010456 add a TODO to fix #254
864f1caf Trim '\w' part of bash prompt. (#253)
git-subtree-dir: gitstatus
git-subtree-split: 2ecd990706255d2000fedbde3b2d2353f63d69a1
Diffstat (limited to 'build')
-rwxr-xr-x | build | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -275,7 +275,14 @@ if [ ! -e "$libgit2_tarball" ]; then fi fi libgit2_url=https://github.com/romkatv/libgit2/archive/"$libgit2_version".tar.gz - command wget -O "$libgit2_tmp" -- "$libgit2_url" + if ! command wget -O "$libgit2_tmp" -- "$libgit2_url"; then + command which wget + command ls -lAd -- "$outdir" + command ls -lA -- "$outdir" + command ls -lAd -- "$outdir"/deps + command ls -lA -- "$outdir"/deps + exit 1 + fi command mv -f -- "$libgit2_tmp" "$libgit2_tarball" else >&2 echo "[error] file not found: deps/libgit2-"$libgit2_version".tar.gz" |