From 9ce64fa6483ab87aa485415bae25638cdcffbe38 Mon Sep 17 00:00:00 2001 From: Jason Coombs Date: Thu, 30 Jun 2016 16:46:51 -1000 Subject: [PATCH] -a instead of -L - Bash conditional expressions see http://www.gnu.org/software/bash/manual/bashref.html#Bash-Conditional-Expressions --- build/env.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/env.sh b/build/env.sh index ff8eb677d0..d0d9c31488 100755 --- a/build/env.sh +++ b/build/env.sh @@ -10,14 +10,14 @@ if [ ! -f "$root/build/env.sh" ]; then fi # Create build/bin if it doesn't exist yet. -if [ ! -L "$root/build/bin" ]; then +if [ ! -a "$root/build/bin" ]; then mkdir -p "$root/build/bin" fi # Create fake Go workspace if it doesn't exist yet. workspace="$root/../_go_build/_workspace" ethdir="$workspace/src/github.com/ethereum" -if [ ! -L "$ethdir/go-ethereum" ]; then +if [ ! -a "$ethdir/go-ethereum" ]; then mkdir -p "$ethdir" cd "$ethdir" ln -s "$root" go-ethereum