Skip to content

Fixes #50128 - ensure DL_DIR exists#50130

Open
baidarka wants to merge 1 commit into
keycloak:mainfrom
baidarka:feature/kcw-ensure-download-directory
Open

Fixes #50128 - ensure DL_DIR exists#50130
baidarka wants to merge 1 commit into
keycloak:mainfrom
baidarka:feature/kcw-ensure-download-directory

Conversation

@baidarka

@baidarka baidarka commented Jun 18, 2026

Copy link
Copy Markdown

fix #50128
'./kcw: line 109: cd: /home/myuser/Downloads: No such file or directory'

Copilot AI review requested due to automatic review settings June 18, 2026 15:06
@baidarka baidarka requested a review from a team as a code owner June 18, 2026 15:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Ensures the kcw helper script can run even when the default download directory is missing, addressing #50128 where the script failed when ~/Downloads did not exist.

Changes:

  • Sets a download directory variable and adds logic to create the directory if missing before attempting to cd into it.

Comment thread misc/scripts/kcw
Comment on lines +12 to +16
DL_DIR="$HOME/Downloads"

if [ ! -d "$DL_DIR" ]; then
mkdir -p "$DL_DIR"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

kcw: line 109: cd: /home/myuser/Downloads: No such file or directory

3 participants