Rockford

.bash_build-cfg

Dec 4th, 2016
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.59 KB | None | 0 0
  1. #!bash
  2.  
  3. # Set up and create paths:
  4. workdir="$HOME/toolchain"
  5. workdir="$HOME/open-source"
  6.  
  7. bin="$workdir/bin"
  8. build="$workdir/Build"
  9. source="$workdir/Source"
  10. archives="$workdir/Archives"
  11.  
  12. [ -d /build ] && build="/build"
  13. [ -d /src ] && source="/src"
  14. [ -d /arc ] && archives="/arc"
  15.  
  16. mkdir -p "$build" "$source" "$archives" "$bin"
  17. export PATH="$bin:$PATH"
  18. # DL_CACHE is the path to your caching server.
  19. export DL_CACHE=http://dl.example.com
  20.  
  21. # Other settings:
  22. export EDITOR=nano
  23. export VISUAL=nano
  24. #...I use the git config preferences instead, but it seems to be necessary for gitolite.
Advertisement
Add Comment
Please, Sign In to add comment