Merge pull request #1016 from ShelLuser/master
Allowing Paper to be build on FreeBSD
Dieser Commit ist enthalten in:
Commit
24cdac9a0e
@ -23,11 +23,11 @@ if [ ! -f "$jarpath.jar" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# OS X doesn't have md5sum, just md5 -r
|
# OS X & FreeBSD don't have md5sum, just md5 -r
|
||||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
if [[ "$OSTYPE" == "darwin"* || "$(uname)" == "FreeBSD" ]]; then
|
||||||
shopt -s expand_aliases
|
shopt -s expand_aliases
|
||||||
alias md5sum='md5 -r'
|
alias md5sum='md5 -r'
|
||||||
echo "Using an alias for md5sum on macOS"
|
echo "Using an alias for md5sum on macOS and/or FreeBSD"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
checksum=$(md5sum "$jarpath.jar" | cut -d ' ' -f 1)
|
checksum=$(md5sum "$jarpath.jar" | cut -d ' ' -f 1)
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren