Compare commits

...

2 Commits

3 changed files with 13 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "ipxe"]
path = ipxe
url = git://git.ipxe.org/ipxe.git

View File

@ -480,3 +480,12 @@ 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) || "$@"

1
ipxe Submodule

@ -0,0 +1 @@
Subproject commit 323af9ee84ae767f1699657d885bb4ca801c00ce