Last active
January 11, 2017 19:33
-
-
Save DeedleFake/526b38915468b9df8bbbfa4288d20661 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/PKGBUILD b/PKGBUILD | |
index 8ef2f13..10f59e4 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -20,9 +20,11 @@ build() { | |
# Force our own git checkout | |
export GOPATH="$srcdir" | |
mkdir -p "$GOPATH/src/github.com/spf13" | |
ln -s `pwd` "$GOPATH/src/github.com/spf13/hugo" | |
- go get -d -v . || printf "Failed at go get" | |
+ cd "$GOPATH/src/github.com/spf13/hugo" | |
+ go get -u -v github.com/kardianos/govendor || printf "go get govendor failed" | |
+ "$GOPATH/bin/govendor" sync -v || printf "govendor failed" | |
make no-git-info || printf "make no-git-info failed" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment