Skip to content

Commit d95b037

Browse files
committed
Fix CI Ubuntu
1 parent 9d4329e commit d95b037

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ci/install_dart_latest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ cd $CI_HOME
5151
# Hack for dartpy installation
5252
python_file=/usr/lib/python3/dist-packages/dartpy.cpython-310-x86_64-linux-gnu.so
5353
if [ -f "$python_file" ]; then
54-
cp $python_file ${PREFIX}/$python_dist_dir
54+
sudo cp $python_file ${PREFIX}/$python_dist_dir
5555
fi
5656

5757
else

ci/install_magnum.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ PREFIX=${1:-$PREFIX}
1414
DEPS_FOLDER=${2:-$DEPS_FOLDER}
1515
SUDOCMD=${3:-$SUDOCMD}
1616

17+
eval SUDOCMD="${SUDOCMD}"
18+
1719
unameOut="$(uname -s)"
1820
case "${unameOut}" in
1921
Linux*) machine=Linux;;

0 commit comments

Comments
 (0)