Addressing issue raised in PR 1888.

Martin Bagge / brother
2020-04-21 12:44:16 +02:00
parent f12b2c6d30
commit eb3fa1455c

@@ -43,7 +43,7 @@ This is because `pkg-config` outputs `-lssl -lcrypto`, which you want to break u
The power of using an array becomes evident when you want to combine, for example, the command result with user-provided arguments:
compile () {
args=( $(pkg-config --libs openssl) "${@}" )
args=( "$(pkg-config --libs openssl)" "${@}" )
gcc "${args[@]}" client.c
}
compile -DDEBUG