Skip to content

Commit 983184a

Browse files
authored
Update run.sh
1 parent 013f45e commit 983184a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if [ ! -x "$(command -v dg_ctl)" ]; then
3131
cmake ..
3232
echo "-- make -j$CORES"
3333
make -j$CORES
34-
echo $1 | sudo -S make install
34+
sudo make install
3535
cd ../..
3636
fi
3737
#检测/usr/local/include/jwt-cpp/jwt.h是否存在
@@ -44,7 +44,7 @@ if [ ! -f "/usr/local/include/jwt-cpp/jwt.h" ]; then
4444
cmake ..
4545
echo "-- make -j$CORES"
4646
make -j$CORES
47-
echo $1 | sudo -S make install
47+
sudo make install
4848
cd ../..
4949
fi
5050

0 commit comments

Comments
 (0)