Skip to content

Commit 0142372

Browse files
committed
Update environment variable setup in docs
Signed-off-by: Parth Pratim Chatterjee <[email protected]>
1 parent 7535e2f commit 0142372

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/source/getting-started.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ First you need to download Bake using Git and set some environment variables:
3434
3535
git clone https://gitlab.com/nsnam/bake.git
3636
cd bake
37-
export PATH=$PATH:`pwd`/build/bin:`pwd`/build/bin_dce
38-
export PYTHONPATH=$PYTHONPATH:`pwd`/build/lib
39-
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/build/lib
37+
export PATH=`pwd`/build/bin${PATH:+:$PATH}
38+
export PYTHONPATH=`pwd`/build/lib${PYTHONPATH:+:$PYTHONPATH}
39+
export LD_LIBRARY_PATH=`pwd`/source/ns-3-dce/build/lib:`pwd`/source/ns-3-dev/build/lib:`pwd`/build/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
4040
4141
4242
then you can install it using bake:

0 commit comments

Comments
 (0)