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

set aboslute path to parent of setup.sh #126

Closed
wants to merge 2 commits into from
Closed

set aboslute path to parent of setup.sh #126

wants to merge 2 commits into from

Conversation

airtonix
Copy link

@airtonix airtonix commented Dec 10, 2022

fixes #125


before:

> pwd
/home/me/Projects/Mine/Github/Dotfiles

> git clone --depth=1 https://github.com/adi1090x/rofi.git ./windowmanagers/files/rofi

> ./windowmanagers/files/rofi/setup.sh

[*] Installing fonts... 
cp: cannot stat '/home/me/Projects/Mine/Github/Dotfiles/fonts/*': No such file or directory
[*] Updating font cache...
 
[*] Creating a backup of your rofi configs... 
[*] Installing rofi configs... 
cp: cannot stat '/home/me/Projects/Mine/Github/Dotfiles/files/*': No such file or directory
[!] Failed to install.
 

after:

> ./windowmanagers/files/rofi/setup.sh                                               

[*] Installing fonts... 
[*] Updating font cache...
 
[*] Creating a backup of your rofi configs... 
[*] Installing rofi configs... 
[*] Successfully Installed.

https://stackoverflow.com/a/9107028

@airtonix airtonix closed this by deleting the head repository Apr 6, 2024
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.

setup fails if not run from within same directory as cloned repo.
1 participant