Skip to content

Commit 238ddaa

Browse files
authored
Merge pull request #20 from saisasidhar/master
Fixes issue with bash variable not expanding properly
2 parents 3eefa15 + 95e8ff2 commit 238ddaa

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

linuxdeploy-plugin-conda.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,9 @@ if [ "$PIP_REQUIREMENTS" != "" ]; then
111111
pushd "$PIP_WORKDIR"
112112
fi
113113

114-
pip_args=('--prefix="$APPDIR"/usr/conda/')
115-
if [ "$PIP_VERBOSE" != "" ]; then
116-
pip_args+=("-v")
117-
fi
114+
# add verbose flag if requested
115+
pip install -U $PIP_REQUIREMENTS --prefix="$APPDIR"/usr/conda/ ${PIP_VERBOSE:+-v}
118116

119-
pip install -U $PIP_REQUIREMENTS "${pip_args[@]}"
120117

121118
if [ "$PIP_WORKDIR" != "" ]; then
122119
popd

0 commit comments

Comments
 (0)