Skip to content

Commit 0a2d8c6

Browse files
committed
Remove dead code from installation script
1 parent 12e0792 commit 0a2d8c6

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

prerequisites/build-functions/download_if_necessary.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ source "${OPENCOARRAYS_SRC_DIR}/prerequisites/build-functions/ftp-url.sh"
33
# shellcheck source=./set_SUDO_if_needed_to_write_to_directory.sh
44
source "${OPENCOARRAYS_SRC_DIR}/prerequisites/build-functions/set_SUDO_if_needed_to_write_to_directory.sh"
55

6-
# Download pkg-config if the tar ball is not already in the present working directory
6+
# Download package if the tar ball is not already in the present working directory
77
# shellcheck disable=SC2154
88
download_if_necessary()
99
{
@@ -27,13 +27,7 @@ download_if_necessary()
2727
info "Please either ensure that ${fetch} is installed and in your PATH"
2828
info "or download the ${package_name} source from "
2929
info "${package_url}"
30-
#called_by_install_sh=`echo "$(ps -p $PPID -o args=)" | grep install.sh`
3130
info "Place the downloaded file in ${download_path} and restart this script."
32-
#if [[ ! -z $called_by_install_sh ]]; then
33-
# caller="install.sh"
34-
#else
35-
# caller="build"
36-
#fi
3731
emergency "Aborting [exit 90]"
3832
else
3933
# The download mechanism is in the path.

0 commit comments

Comments
 (0)