diff --git a/build.sh b/build.sh index dc6e6e5..4733a15 100755 --- a/build.sh +++ b/build.sh @@ -40,7 +40,8 @@ checksum_output() { set +x hashes="sha1 sha256 sha512" local outfile hashfile - outfile=$output$1 + cd "$(dirname $output)" + outfile=$(basename "$output$1") for hash in $hashes ; do hashfile=$outfile.$hash