Guest User

Untitled

a guest
Sep 19th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. # Get the directory where this script is. This will also resolve
  2. # any symlinks in the directory/script, so it will be the fully
  3. # resolved path.
  4. SOURCE="${BASH_SOURCE[0]}"
  5. while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
  6. DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
  7.  
  8. # Useful variables
  9. EMBEDDED_DIR=${DIR}/../embedded
Add Comment
Please, Sign In to add comment