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

Error running #!/usr/bin/env groovy #4

Open
gngrossi opened this issue Dec 21, 2023 · 1 comment
Open

Error running #!/usr/bin/env groovy #4

gngrossi opened this issue Dec 21, 2023 · 1 comment

Comments

@gngrossi
Copy link

bash-5.2$ ls -lT g02.sh
t ISO8859-1 T=on -rwx------ 1 @02858 @ISCICS1 751 Dec 21 16:11 g02.sh

bash-5.2$ ./g02.sh
/hewitt/zopentools/guild/groovy-DEV/bin/groovy 1: FSUM7332 syntax error: got (, expecting Newline

bash-5.2$ head g02.sh
#!/usr/bin/env groovy
//
// reading files
//

@IgorTodorovskiIBM
Copy link
Contributor

startGroovy, /home/itodoro/zopen/usr/local/zopen/groovy/groovy-DEV.20231212_222300.zos/bin/startGroovy has the mixed text flag set which disables auto-conversion. Since the file is text based, we should probably mark it as text.

ls -lT /home/itodoro/zopen/usr/local/zopen/groovy/groovy-DEV.20231212_222300.zos/bin/startGroovy
m ISO8859-1   T=on  -rwxr-xr-x   1 ITODORO  BASIC      13756 Dec 12 22:23 

This may be an issue with the unzip port as the original package contents are archived in zip format.

FYI @MikeFultonDev

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