Skip to content

Commit e297ec6

Browse files
authored
Merge pull request #43 from rktjmp/fix-script-dir-check
fix: check for scripts dir in project root instead of /scripts
2 parents 0bad620 + ee89c95 commit e297ec6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

panvimdoc.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,9 @@ while [[ $# -gt 0 ]]; do
106106
done
107107

108108
# Check if /scripts directory exists
109-
if [ -d "/scripts" ]; then
110-
SCRIPTS_DIR="/scripts"
109+
if [ -d "scripts" ]; then
110+
SCRIPTS_DIR="scripts"
111+
echo "SCRIPTS"
111112
else
112113
SCRIPTS_DIR="$(dirname "$(readlink -f "$0")")/scripts"
113114
fi

0 commit comments

Comments
 (0)