summaryrefslogtreecommitdiff
path: root/bin/fetch-aerial-recent
diff options
context:
space:
mode:
Diffstat (limited to 'bin/fetch-aerial-recent')
-rwxr-xr-xbin/fetch-aerial-recent2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fetch-aerial-recent b/bin/fetch-aerial-recent
index 23f4a57..90a5a95 100755
--- a/bin/fetch-aerial-recent
+++ b/bin/fetch-aerial-recent
@@ -100,7 +100,7 @@ echo
echo "Masters ready: $(du -sh "$MASTER_DIR" | cut -f1)"
if [[ "$ENCODE" -eq 1 ]]; then
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
+ SCRIPT_DIR="$(cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" && pwd)"
ENCODER="$SCRIPT_DIR/encode-aerial-lite"
if [[ ! -x "$ENCODER" ]]; then
ENCODER="$(command -v encode-aerial-lite || true)"