Skip to content

Commit

Permalink
Fix handling of COQPATH
Browse files Browse the repository at this point in the history
Should deal with #25 (comment)
  • Loading branch information
JasonGross committed Nov 1, 2023
1 parent a737876 commit a3d4de4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,11 @@ function coqpath_to_args() {
cd "$1"
local IFS=:
for i in $2; do
printf "-I\n"
printf "%s\n" "-I"
(cd "$i" && pwd)
while IFS= read -r subdir; do
if [ -d "$i/$subdir" ]; then
printf "-Q\n"
printf "%s\n" "-Q"
(cd "$i/$subdir" && pwd)
printf "%s\n" "$subdir"
fi
Expand Down

0 comments on commit a3d4de4

Please sign in to comment.