mirror of
https://github.com/feather-wallet/feather.git
synced 2025-04-16 18:01:54 +00:00
guix: warn if running guix-build as root
This commit is contained in:
parent
b2edef87a3
commit
dc4d7c9dbf
1 changed files with 9 additions and 0 deletions
|
@ -19,6 +19,15 @@ source "$(dirname "${BASH_SOURCE[0]}")/libexec/prelude.bash"
|
|||
|
||||
check_tools cat mkdir make getent curl git guix
|
||||
|
||||
################
|
||||
# Check if we're running as root
|
||||
################
|
||||
|
||||
if [ "$EUID" -eq 0 ]; then
|
||||
echo "Warning! Running this script as root may cause problems."
|
||||
echo
|
||||
fi
|
||||
|
||||
################
|
||||
# GUIX_BUILD_OPTIONS should be empty
|
||||
################
|
||||
|
|
Loading…
Reference in a new issue