diff --git a/etc/profile.d/kde.sh b/etc/profile.d/kde.sh
index df16705..e7cfa5c 100755
--- a/etc/profile.d/kde.sh
+++ b/etc/profile.d/kde.sh
@@ -22,8 +22,8 @@ fi
done
# Fix the user-places.xbel error pop at first user login
-if [ ! -d $HOME/.local/share -a -w ${HOME} ]; then
- mkdir -p $HOME/.local/share
+if [ ! -d "$HOME/.local/share" -a -w "${HOME}" ]; then
+ mkdir -p "$HOME/.local/share"
fi
unset libdir