]> git.droids-corp.org - dpdk.git/blobdiff - .ci/linux-setup.sh
net/nfp: rename set MAC function
[dpdk.git] / .ci / linux-setup.sh
index ca35b4b38d671017b41a7f73ad1ec7b23934c3a6..f5ef6b1b9832a38667c48506a6690c96a5bd5675 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'