Skip to content

Conversation

m1kethai
Copy link

Fixed an issue causing the setup script to throw an error/fail if the current working directory contains any spaces.

This was the error I got when I initially ran the setup from my /Git Repo Clones folder:

┌─[mt@archdt] ~ [/home/mt/CODE/Git Repo Clones/rofi]
└─ >> <git:(master 1dabf36✱) > ./setup.sh 

[*] Installing fonts... 
    /home/mt/CODE/Git Repo Clones/rofi (y/n): ^[[Acp: cannot stat '/home/mt/CODE/Git': No such file or directory
cp: cannot stat 'Repo': No such file or directory
cp: cannot stat 'Clones/rofi/fonts/*': No such file or directory
[*] Updating font cache...
 
[*] Creating a backup of your rofi configs... 
[*] Installing rofi configs... 
cp: cannot stat '/home/mt/CODE/Git': No such file or directory
cp: cannot stat 'Repo': No such file or directory
cp: cannot stat 'Clones/rofi/files/*': No such file or directory
[!] Failed to install.

After applying these changes, all dir path characters are preserved throughout the script execution and the installation works as intended.

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.

1 participant