We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
voidrice/.local/bin/compiler
Line 14 in c43f390
If the compiler is given a file that does not have the parent directory in name, it will not run the script, i.e.
$ compiler project.md /home/user/.local/bin/compiler: line 19: cd: project.md: Not a directory
so maybe use something like dir=$(dirname "${file}")
dir=$(dirname "${file}")
The text was updated successfully, but these errors were encountered:
No branches or pull requests
voidrice/.local/bin/compiler
Line 14 in c43f390
If the compiler is given a file that does not have the parent directory in name, it will not run the script, i.e.
so maybe use something like
dir=$(dirname "${file}")
The text was updated successfully, but these errors were encountered: