Bug 443688

Summary: Adding path for kdesrc-build does not respect kdedir
Product: [Developer tools] kdesrc-build Reporter: Brent Mackey <bjdm.92>
Component: setup wizardAssignee: Michael Pyne <mpyne>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: Git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Brent Mackey 2021-10-14 03:36:52 UTC
SUMMARY
Changes to source, build, and install directories made in kdesrc-build-setup or .kdesrc-buildrc are not reflected in the changes made to .bashrc/.zshrc

STEPS TO REPRODUCE
1. Configure kdesrc-build with custom directories
2. Select add changes to .bashrc/.zshrc

OBSERVED RESULT
Directory added to path in .bashrc/.zshrc is always $HOME/kde/src/kdesrc-build:$PATH as hard coded here: https://invent.kde.org/sdk/kdesrc-build/-/blob/master/modules/ksb/FirstRun.pm#L37

EXPECTED RESULT
Directory added to path in .bashrc/.zshrc is the correct directory to find kdesrc-build and kdesrc-run

Operating System: Arch Linux
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.11-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 1700 Eight-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: Radeon RX 580 Series
Comment 1 Bug Janitor Service 2023-07-27 11:59:35 UTC
A possibly relevant merge request was started @ https://invent.kde.org/sdk/kdesrc-build/-/merge_requests/255
Comment 2 Nate Graham 2023-07-28 18:55:53 UTC
Git commit 9dfb2f59963fd8a5552ebd077735996e60289291 by Nate Graham, on behalf of Jannick Kremer.
Committed on 28/07/2023 at 20:55.
Pushed by ngraham into branch 'master'.

Add actual install location of kdesrc-build to PATH

So far, the location added to path in the shrc during initial setup was hardcoded to the home directory. Change this to take the actual location.

@teams/qa
(sorry if this is the wrong team, this is my first MR)

M  +4    -8    modules/ksb/FirstRun.pm

https://invent.kde.org/sdk/kdesrc-build/-/commit/9dfb2f59963fd8a5552ebd077735996e60289291