forked from Gregwar/notroot
- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbashrc
More file actions
Latest commit
executable file
·11 lines (10 loc) · 537 Bytes
/
Copy pathbashrc
File metadata and controls
executable file
·11 lines (10 loc) · 537 Bytes
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
DIR="$(cd"$( dirname "${BASH_SOURCE[0]}")"&&pwd)"
forROOTin$DIR$DIR/deb
do
export PATH="$DIR:$DIR/bin:$DIR/sbin:$ROOT/usr/bin:$ROOT/usr/sbin:$PATH"
export CPATH="$ROOT/include:$ROOT/usr/include:$CPATH"
export LD_LIBRARY_PATH="$ROOT/usr/lib:$ROOT/lib:$ROOT/usr/lib/x86_64-linux-gnu:$ROOT/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH"
export LIBRARY_PATH="$ROOT/usr/lib:$ROOT/lib:$ROOT/usr/lib/x86_64-linux-gnu:$ROOT/lib/x86_64-linux-gnu:$LIBRARY_PATH"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$ROOT/share/pkgconfig/"
done