Skip to content

Commit

Permalink
Making sure USER exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
mithro committed Aug 13, 2015
1 parent ee5d861 commit 8506c75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/get-env.sh
Expand Up @@ -2,6 +2,7 @@

SETUP_SRC=$(realpath ${BASH_SOURCE[@]})
SETUP_DIR=$(dirname $SETUP_SRC)
USER=$(whoami)

BINUTILS_URL=http://ftp.gnu.org/gnu/binutils/binutils-2.25.tar.gz
GCC_URL=http://mirrors-usa.go-parts.com/gcc/releases/gcc-4.9.3/gcc-4.9.3.tar.bz2
Expand All @@ -18,7 +19,7 @@ set -x
set -e

sudo apt-get install -y build-essential
sudo gpasswd -a $USER dialout
sudo adduser $USER dialout

# Get and build gcc+binutils for the target
(
Expand Down

0 comments on commit 8506c75

Please sign in to comment.