diff options
Diffstat (limited to 'pkg/git')
| -rw-r--r-- | pkg/git/fetch.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkg/git/fetch.sh b/pkg/git/fetch.sh index 9b17a0d5..326e7338 100644 --- a/pkg/git/fetch.sh +++ b/pkg/git/fetch.sh @@ -1,5 +1,3 @@ -: "${SHA256SUM:=sha256sum}" - set -e sh scripts/fetch-git.sh "$@" @@ -11,9 +9,9 @@ if [ -e src/man ] ; then rm -rf src/man fi -if ! $SHA256SUM -c sha256 2>/dev/null ; then +if ! sh "$OLDPWD/scripts/checksum.sh" -c sha256 2>/dev/null ; then curl -L -O -K url - $SHA256SUM -c sha256 + sh "$OLDPWD/scripts/checksum.sh" -c sha256 fi read -r _ archive <sha256 |
