net/nfp: rename set MAC function
[dpdk.git] / .ci / linux-setup.sh
index ca35b4b..f5ef6b1 100755 (executable)
@@ -1,5 +1,8 @@
 #!/bin/sh -xe
 
+# Builds are run as root in containers, no need for sudo
+[ "$(id -u)" != '0' ] || alias sudo=
+
 # need to install as 'root' since some of the unit tests won't run without it
 sudo python3 -m pip install --upgrade 'meson==0.49.2'