changeset 125:22872b46eee9

Cleanup.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 20 Apr 2014 14:28:07 +0300
parents 4547a239b0fd
children d954c4d34a3f
files update.sh
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/update.sh	Sun Apr 20 14:27:19 2014 +0300
+++ b/update.sh	Sun Apr 20 14:28:07 2014 +0300
@@ -3,11 +3,10 @@
 
 function createdir()
 {
-  if test ! -d "$1"; then
-    mkdir -p "$1" && chmod 751 "$1"
-  fi
+  test ! -d "$1" && mkdir -p "$1" && chmod 751 "$1"
 }
 
+
 function fetch()
 {
   URLPREFIX="$1"