Changeset 248584 in webkit


Ignore:
Timestamp:
Aug 12, 2019 5:52:49 PM (5 years ago)
Author:
commit-queue@webkit.org
Message:

AX: Homebrew is not allowed to run any script under sudo.
https://bugs.webkit.org/show_bug.cgi?id=173801

Patch by Alexey Shvayka <Alexey Shvayka> on 2019-08-12
Reviewed by Carlos Alberto Lopez Perez.

Latest versions of Homebrew throw an error when run as root.
Dependencies are successfully installed w/o sudo on macOS, so skip it.

  • gtk/install-dependencies:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r248583 r248584  
     12019-08-12  Alexey Shvayka  <shvaikalesh@gmail.com>
     2
     3        AX: Homebrew is not allowed to run any script under sudo.
     4        https://bugs.webkit.org/show_bug.cgi?id=173801
     5
     6        Reviewed by Carlos Alberto Lopez Perez.
     7
     8        Latest versions of Homebrew throw an error when run as root.
     9        Dependencies are successfully installed w/o `sudo` on macOS, so skip it.
     10
     11        * gtk/install-dependencies:
     12
    1132019-08-12  Jonathan Bedard  <jbedard@apple.com>
    214
  • trunk/Tools/gtk/install-dependencies

    r248465 r248584  
    11#!/usr/bin/env bash
    22
    3 # This script needs to be run with root rights.
    4 if [ $UID -ne 0 ]; then
     3# On Linux systems, this script needs to be run with root rights.
     4if [ `uname` != "Darwin" ] && [ $UID -ne 0 ]; then
    55    sudo $0
    66    exit 0
Note: See TracChangeset for help on using the changeset viewer.