summaryrefslogtreecommitdiffstats
path: root/scripts/build_vpp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build_vpp.sh')
-rwxr-xr-xscripts/build_vpp.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build_vpp.sh b/scripts/build_vpp.sh
index fad02fc..d9dd1c8 100755
--- a/scripts/build_vpp.sh
+++ b/scripts/build_vpp.sh
@@ -17,7 +17,9 @@
set -x
-cd ../stacks/vpp
+SCRIPT_DIR=`dirname $(readlink -f $0)`
+
+cd $SCRIPT_DIR/../stacks/vpp
git clone https://gerrit.fd.io/r/vpp
cd vpp