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 | ec44300155e99268cb2b23deb7e789d0bb4b1723 (patch) | |
tree | 766bee13af37a2cab40fe5ceadbf7cb5b9d7b6b4 /gitstatus/build | |
parent | 25e5f5985f0b977461c0d14663a910363684014e (diff) | |
parent | 80ec734a953d930838ea6839923c97c3da880a0d (diff) |
Merge commit '80ec734a953d930838ea6839923c97c3da880a0d'
Diffstat (limited to 'gitstatus/build')
-rwxr-xr-x | gitstatus/build | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gitstatus/build b/gitstatus/build index 8f0892f2..7adae0a9 100755 --- a/gitstatus/build +++ b/gitstatus/build @@ -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" |