Skip to content

Commit

Permalink
temporarily change the working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Rocker committed Oct 2, 2024
1 parent b07e7b1 commit 4b178d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/pcgen.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/sh
set -e
cd "$(dirname "$0")"

# Most GUIs will change directory to the location of the script
# when the script is double-clicked. But nooooo, not macOS.
Expand Down

0 comments on commit 4b178d3

Please sign in to comment.