nsbin/get_absolute_path.sh
Nico Schottelius d3c6e29902 Initial commit
2006-07-20 09:54:37 +02:00

10 lines
156 B
Bash
Executable file

#!/bin/sh
cd /
SCRIPT_DIR_RELATIVE=$(dirname $0)
SCRIPT_DIR_ABSOLUTE=$(cd $SCRIPT_DIR_RELATIVE; pwd)
echo $SCRIPT_DIR_RELATIVE $SCRIPT_DIR_ABSOLUTE
pwd