Compare commits

..

1 Commits

Author SHA1 Message Date
Max Weiss f95446ad9f
Do not clone IPXE since it's a submodule 2021-04-28 23:06:21 -07:00
1 changed files with 0 additions and 9 deletions

View File

@ -480,12 +480,3 @@ function upload_release_ipxe_shasums() {
return 0
}
if [[ ! "$(ps -o cmd -p $$ | tail -n 1 | tr -d '\n')" =~ "bash" ]]; then
>&2 echo "Shell not bash, exiting."
exit 1
fi
# This is a bash-specific hack to determine if the file is being sourced or
# run as a script. It will only work in bash, not other shells.
(return 0 2>/dev/null) || "$@"