Skip to content

Commit

Permalink
Fix ls variable
Browse files Browse the repository at this point in the history
  • Loading branch information
liaralabs committed May 11, 2024
1 parent 6d5b980 commit ea2804e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/functions/libtorrent
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function booststrap() {
export BOOST_ROOT=/opt/boost_${BOOST_VERSION}
export BOOST_INCLUDEDIR=${BOOST_ROOT}
export BOOST_BUILD_PATH=${BOOST_ROOT}
oldBoosts=($(ls /opt/boost | grep boost | grep -v ${BOOST_VERSION}))
oldBoosts=($(ls /opt 2> /dev/null | grep boost | grep -v ${BOOST_VERSION}))
if [[ -n ${oldBoosts[@]} ]]; then
for oldBoost in ${oldBoosts[@]}; do
echo_info "Removing old boost: ${oldBoost}"
Expand Down

0 comments on commit ea2804e

Please sign in to comment.