From f613b92fd29308d3500c4bfb64f81f8bf093f4b3 Mon Sep 17 00:00:00 2001 From: Evan Huus Date: Thu, 25 Jun 2015 13:03:28 -0700 Subject: Tell vagrant that it's a dev environment Put WIRESHARK_RUN_FROM_BUILD_DIRECTORY in the shell profile so that wireshark knows it's running from a build directory (which it otherwise sometimes doesn't for out-of-tree cmake). This fixes lua and other things in the vagrant build. Change-Id: I69775612d0f9161ce9b30c32122aee52a1106cbc Reviewed-on: https://code.wireshark.org/review/9148 Reviewed-by: Evan Huus --- vagrant_build.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'vagrant_build.sh') diff --git a/vagrant_build.sh b/vagrant_build.sh index 6272003f80..49a2ed869d 100644 --- a/vagrant_build.sh +++ b/vagrant_build.sh @@ -22,6 +22,7 @@ set -e +grep -q WIRESHARK_RUN_FROM_BUILD_DIRECTORY ~/.profile || echo "export WIRESHARK_RUN_FROM_BUILD_DIRECTORY=1" >> ~/.profile mkdir -p build cd build cmake /vagrant/ -- cgit v1.2.1