summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xinstall5
1 files changed, 5 insertions, 0 deletions
diff --git a/install b/install
index da30f8c..32a4f26 100755
--- a/install
+++ b/install
@@ -21,6 +21,11 @@ then
 fi
 
 install-dot () {
+	if [[ "$1" != . && ! -d $1 ]]
+	then
+		mkdir $1
+	fi
+
 	for f in $@[2,-1]
 	do
 		if [[ ! -e $1$f:t ]]