summaryrefslogtreecommitdiff
path: root/xinitrc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xinitrc.cpp')
-rw-r--r--xinitrc.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/xinitrc.cpp b/xinitrc.cpp
index 89a65ca..5643340 100644
--- a/xinitrc.cpp
+++ b/xinitrc.cpp
@@ -24,20 +24,20 @@ if [ -f $sysmodmap ]; then
XMODMAP $sysmodmap
fi
-if [ -f $userresources ]; then
+if [ -f "$userresources" ]; then
#ifdef __APPLE__
if [ -x /usr/bin/cpp ] ; then
- XRDB -merge $userresources
+ XRDB -merge "$userresources"
else
- XRDB -nocpp -merge $userresources
+ XRDB -nocpp -merge "$userresources"
fi
#else
- XRDB -merge $userresources
+ XRDB -merge "$userresources"
#endif
fi
-if [ -f $usermodmap ]; then
- XMODMAP $usermodmap
+if [ -f "$usermodmap" ]; then
+ XMODMAP "$usermodmap"
fi
XCOMM start some nice programs