Skip to content
Snippets Groups Projects
Commit 0d18802c authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Remove unused function

parent f7377f49
No related branches found
No related tags found
1 merge request!42Staging
......@@ -203,18 +203,6 @@ prepare_build_env() {
}
# Appends a value to a variable if that is not already set
# $1: variable name to append the value
# $2: the value to be appended
append_if_not_set() {
if [ -z "${1+abc}" ]; then
eval $1="$2"
elif [[ "${!1}" != "*${2}*" ]]; then
eval $1="${!1} $2"
fi
}
# Checks if an array contains a value
# taken from here: https://stackoverflow.com/questions/3685970/check-if-an-array-contains-a-value
# Parameters: <value-to-check> <array-variable>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment