Skip to content

Commit

Permalink
Fix SCRIPT_FOLDER
Browse files Browse the repository at this point in the history
  • Loading branch information
Arial-Z committed Feb 18, 2023
1 parent b97bc8f commit 50caed3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion animes-renamer.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

SCRIPT_FOLDER=$(dirname "$(readlink -f "$0")")
SCRIPT_FOLDER=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
echo "$SCRIPT_FOLDER"
media_type=animes
source $SCRIPT_FOLDER/.env
Expand Down
2 changes: 1 addition & 1 deletion movies-renamer.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

SCRIPT_FOLDER=$(dirname "$(readlink -f "$0")")
SCRIPT_FOLDER=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
echo "$SCRIPT_FOLDER"
media_type=movies
source $SCRIPT_FOLDER/.env
Expand Down

0 comments on commit 50caed3

Please sign in to comment.