https://bugs.kde.org/show_bug.cgi?id=458943

            Bug ID: 458943
           Summary: kdesrc-run ignores options
           Product: kdesrc-build
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: mp...@kde.org
          Reporter: jurajora...@mailo.com
  Target Milestone: ---

SUMMARY
The "kdesrc-run" script ignores provided options (-h, --help, -f, --fork, ...)
and treats them as programs to start.

STEPS TO REPRODUCE
1. Install kdesrc-build on Artix
2. run # kdesrc-run --help
3. or run an example # kdesrc-run -f kate -l 5 file1.txt

OBSERVED RESULT
An error message:
> kdesrc-run:source:2: no such file or directory: 
> /home/USER/kde/build/-f/prefix.sh
> kdesrc-run:source:2: no such file or directory: 
> /home/USER/kde/build/--help/prefix.sh
> 
> General error message:
> kdesrc-run:source:2: no such file or directory: 
> /home/USER/kde/build/%OPTION%/prefix.sh
Where %OPTION% is the provided option.

EXPECTED RESULT
The option is recognized and program (eg. kate) is started.

SOFTWARE/OS VERSIONS
Perl Version: 5.36.0-1
kdesrc-build Versions: 22.07-1 and git-r2635.630d70d-1

ADDITIONAL INFORMATION
I tried both versions, one from Arch repositories (version 22.07-1) and also
one built from AUR (git-r2635.630d70d-1) and both have same issue.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to