Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #19 from harche/gopath_fix
Browse files Browse the repository at this point in the history
Exit if GOPATH is not set
  • Loading branch information
jodh-intel authored Jan 16, 2018
2 parents 3644d49 + 8086e5b commit 5484928
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rootfs-builder/rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ done

shift $(($OPTIND - 1))

[ -z "$GOPATH" ] && die "GOPATH not set"

distro="$1"

[ -n "${distro}" ] || usage 1
Expand Down

0 comments on commit 5484928

Please sign in to comment.