Skip to content

fix(installer): make managed root check locale independent - #33

Open
Kinetic27 wants to merge 1 commit into
devswha:mainfrom
Kinetic27:fix/installer-stat-locale
Open

fix(installer): make managed root check locale independent#33
Kinetic27 wants to merge 1 commit into
devswha:mainfrom
Kinetic27:fix/installer-stat-locale

Conversation

@Kinetic27

Copy link
Copy Markdown

Summary

  • force the installer's stat metadata query to use the C locale
  • prevent failures when %F is localized, such as 디렉터리 under Korean locales

Verification

  • sh -n install.sh
  • verified the installer fixture with LANG=ko_KR.UTF-8

Fixes the one-line installer error:
[chatmux] ERROR: managed root must be an ordinary directory

@devswha devswha left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Verified the installer parses stat %F under LC_ALL=C, so localized coreutils output cannot break the exact directory comparison. The one-line change is scoped correctly; sh -n install.sh passes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants