mirror of
https://github.com/davatorium/rofi.git
synced 2025-07-31 21:59:25 -04:00
fix double slashes in path names
This commit is contained in:
parent
6f63e80b2f
commit
eff0597625
1 changed files with 2 additions and 1 deletions
|
@ -70,7 +70,8 @@ function find_themes()
|
||||||
# Add user dir.
|
# Add user dir.
|
||||||
DIRS+=":${HOME}/.local/share/"
|
DIRS+=":${HOME}/.local/share/"
|
||||||
for p in ${DIRS}; do
|
for p in ${DIRS}; do
|
||||||
TD=${p}/rofi/themes/
|
p=${p%/}
|
||||||
|
TD=${p}/rofi/themes
|
||||||
if [ -n "${p}" ] && [ -d "${TD}" ]
|
if [ -n "${p}" ] && [ -d "${TD}" ]
|
||||||
then
|
then
|
||||||
echo "Checking themes in: ${TD}"
|
echo "Checking themes in: ${TD}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue