Ticket #1824 (closed bug: fixed)

Opened 11 months ago

Last modified 11 months ago

Can't open perl script

Reported by: kaliber Owned by: axeld
Priority: normal Milestone: R1
Component: System/runtime_loader Version: R1 development
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 (2.7 KB) - added by kaliber 11 months ago.
Proposed patch for bug #1824 and #1773

Change History

follow-up: ↓ 2   Changed 11 months ago by stippi

Does the script file have the executable bit set?

in reply to: ↑ 1   Changed 11 months ago by kaliber

Replying to stippi:

Does the script file have the executable bit set?

Yes.

Changed 11 months ago by kaliber

Proposed patch for bug #1824 and #1773

  Changed 11 months ago by kaliber

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

  Changed 11 months 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 11 months 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.