Ticket #1824 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

Can't open perl script

Reported by: kaliber Owned by: axeld
Priority: normal Milestone: R1
Component: System/runtime_loader Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Platform: All
Blocking:

Description

It's probably duplicate of ticket #1773, but I cannot add comment there (trac error).

Put test.pl in /boot/home/config/bin/test.pl:

#!/boot/home/config/bin/perl

from home directory try to run script:

~>test.pl
Can't open perl script "test.pl": No such file or directory

from home directory try to run:

~>/boot/home/config/bin/test.pl

and it works now...

Attachments

arg0-fix.patch Download (2.7 KB) - added by kaliber 2 years ago.
Proposed patch for bug #1824 and #1773

Change History

follow-up: ↓ 2   Changed 2 years ago by stippi

Does the script file have the executable bit set?

in reply to: ↑ 1   Changed 2 years ago by kaliber

Replying to stippi:

Does the script file have the executable bit set?

Yes.

Changed 2 years ago by kaliber

Proposed patch for bug #1824 and #1773

  Changed 2 years ago by kaliber

I've added proposed patch for bug #1824 and #1773.

  Changed 2 years ago by bonefish

Thanks for the patch. I only had a quick look yet, but it basically looks OK (save for the argv[1] in load_image()). Unless someone else beats me to it, I'll have a closer look later and apply it.

  Changed 2 years ago by korli

  • status changed from new to closed
  • resolution set to fixed

Applied patch in r24131. Tested only #1773.

Note: See TracTickets for help on using tickets.