Skip to content

Commit

Permalink
vagrant: Fix build in dev. VM
Browse files Browse the repository at this point in the history
The build script run inside the dev. VM was inadvertently broken when
moved from common/ to pkg/common/. This commit fixes that and moves that
script to contrib/vagrant/; since only the dev. VM uses that script it
makes more sense to have it with other dev. scripts.

Fixes: 3c784c7 ("Move all 'common' code to 'pkg'")
Signed-off-by: Paul Chaignon <paul@cilium.io>
  • Loading branch information
pchaigno authored and rolinh committed May 7, 2020
1 parent 0eb86b8 commit f187acf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ set -o pipefail
export PATH=/home/vagrant/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
#{$makeclean}
~/go/src/github.com/cilium/cilium/pkg/common/build.sh
~/go/src/github.com/cilium/cilium/contrib/vagrant/build.sh
rm -fr ~/go/bin/cilium*
SCRIPT

Expand Down
2 changes: 1 addition & 1 deletion pkg/common/build.sh → contrib/vagrant/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

pushd `dirname $0` > /dev/null
P="`pwd`/.."
P="`pwd`/../.."
popd > /dev/null

cd "$P"
Expand Down

0 comments on commit f187acf

Please sign in to comment.