Skip to content

Commit

Permalink
fixed cmd to allocate gears.sh's location
Browse files Browse the repository at this point in the history
  • Loading branch information
jintonic committed Dec 13, 2023
1 parent b6ad37c commit af8e8b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gears.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
# add gears directory to PATH
GEARS="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
GEARS="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" >/dev/null 2>&1 && pwd)"
export PATH=$GEARS:$PATH

0 comments on commit af8e8b3

Please sign in to comment.