Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Get the directory where this script is. This will also resolve
- # any symlinks in the directory/script, so it will be the fully
- # resolved path.
- SOURCE="${BASH_SOURCE[0]}"
- while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
- DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
- # Useful variables
- EMBEDDED_DIR=${DIR}/../embedded
Add Comment
Please, Sign In to add comment