Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[install.sh] Relative path not work when specify destination directory. #229

Closed
samwhelp opened this issue Mar 27, 2023 · 0 comments
Closed

Comments

@samwhelp
Copy link
Contributor

Problem

Absoue Path Work

$ ./install.sh

$ ./install.sh -d "$(pwd)/test"

$ ./install.sh -d "$(pwd)/../test"

Relative Path Not Work

$ ./install.sh -d ./test

$ ./install.sh -d ../test

How to fix

Orginal

Line: 59-60

  cd ${THEME_DIR}
  sed -i "s/${name}/${name}${theme}${color}/g" index.theme

Simple Fix

  #cd ${THEME_DIR}
  sed -i "s/${name}/${name}${theme}${color}/g" ${THEME_DIR}/index.theme
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

No branches or pull requests

1 participant