Merge pull request #58 from electronjoe/a1cf780cccc4819eb360cda1e0e94e17935cb8c7
[netsniff-ng-old.git] / curvetun / nacl_path.sh
blob1afc6d25e6eec97034dada890eee5912a17c19f8
1 #!/bin/bash
3 # netsniff-ng - the packet sniffing beast
4 # By Emmanuel Roullit <emmanuel@netsniff-ng.org>
5 # Copyright 2009, 2011 Emmanuel Roullit.
6 # Subject to the GPL, version 2.
8 nacl_include_path="$1"
9 nacl_lib_path="$2"
11 if test -z $nacl_include_path || test -z $nacl_lib_path; then
12 echo "Please input the path where NaCl is like the following:"
13 echo "./$0.sh <include_path> <lib_path>"
14 exit 1
17 echo "export NACL_INC_DIR=$nacl_include_path" >> ~/.bashrc
18 echo "export NACL_LIB_DIR=$nacl_lib_path" >> ~/.bashrc