Skip to content
New issue

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

Doesn't work well on OpenBSD 7.5 #15

Open
TheWanderer1983 opened this issue Aug 13, 2024 · 1 comment
Open

Doesn't work well on OpenBSD 7.5 #15

TheWanderer1983 opened this issue Aug 13, 2024 · 1 comment

Comments

@TheWanderer1983
Copy link

Hello,
The vanilla script without changes fails to see path to readlinks, cp or mkdir.
cp doesn't have -t with OpenBSD. After correcting those problems. The following errors with running

./flexipatch-finalizer/flexipatch-finalizer.sh -d st-flexipatch/ -o st-test --run
awk: syntax error at source line 113
context is
print line > $0 >>> ".~" <<<
awk: illegal statement at source line 113

If I run this exact setup on Linux it works fine.

@bakkeby
Copy link
Owner

bakkeby commented Aug 20, 2024

I suppose the script was never meant to be cross-platform. Would be a nice-to-have though.

The error seems to be related to print redirection to a file. I wonder if this may be gawk specific syntax:

https://www.gnu.org/software/gawk/manual/html_node/Redirection.html

Looks like on Linux awk is often just a symlink to gawk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants