Jump to content

Bash (Unix shell): Difference between revisions

Line 130: Line 130:
#!/bin/bash
#!/bin/bash


DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)"
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
</syntaxhighlight>
</syntaxhighlight>