Skip to content

Commit

Permalink
tools: developer.sh: do not run it with sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Jan 14, 2025
1 parent e2318a1 commit c01deef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/developer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
echo "Running on OSTYPE: '$OSTYPE'"
DISTRO=""
CODENAME=""
SUDO=$(command -v sudo 2>/dev/null)
export SUDO=$(command -v sudo 2>/dev/null)
command -v git >/dev/null 2>&1 || { echo >&2 "Please install git."; exit 1; }

if [[ -d ../.git ]]; then
Expand Down Expand Up @@ -224,7 +224,7 @@ elif [[ "$OSTYPE" == "linux-gnu"* ]]; then
detect_linux_distro
detect_linux_qt_version
detect_deps_script
$SUDO "ci/$DEPS.deps.sh"
"ci/$DEPS.deps.sh"

if command -v clang++-19 ; then
CC=clang-19
Expand Down

0 comments on commit c01deef

Please sign in to comment.