Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/bash
SCRIPT_PATH="${0}"
SCRIPT_DIR=`dirname "${SCRIPT_PATH}"`
SCRIPT_DIR=`cd "${SCRIPT_DIR}"; pwd`
echo "$SCRIPT_DIR"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment