Explorar el Código

Make sure all sources have the wanted revision

Guillaume J. Charmes hace 12 años
padre
commit
120a520a22
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packaging/ubuntu/Makefile

+ 1 - 1
packaging/ubuntu/Makefile

@@ -32,7 +32,7 @@ ubuntu:
 	# Retrieve docker project and its go structure from internet
 	# Retrieve docker project and its go structure from internet
 	rm -rf ${BUILD_SRC}
 	rm -rf ${BUILD_SRC}
 	git clone $(shell git rev-parse --show-toplevel) ${BUILD_SRC}/${GITHUB_PATH}
 	git clone $(shell git rev-parse --show-toplevel) ${BUILD_SRC}/${GITHUB_PATH}
-	cd ${BUILD_SRC}/${GITHUB_PATH}; git checkout v${VERSION} && GOPATH=${BUILD_SRC} go get -d
+	cd ${BUILD_SRC}/${GITHUB_PATH}; git checkout v${VERSION} && GOPATH=${BUILD_SRC} go get -d && cd ${BUILD_SRC}/src/${GITHUB_PATH} && git checkout v${VERSION}
 	# Add debianization
 	# Add debianization
 	mkdir ${BUILD_SRC}/debian
 	mkdir ${BUILD_SRC}/debian
 	cp Makefile ${BUILD_SRC}
 	cp Makefile ${BUILD_SRC}