[Pkg-voip-commits] [SCM] UNNAMED PROJECT branch, master, updated. upstream/1.8.0_pre1-12-g6eb74a5

Daniel Pocock daniel at pocock.com.au
Sun May 20 17:14:21 UTC 2012


The following commit has been merged in the master branch:
commit 9a3d61de24c13f0a35ad2970b32e97ab92f9c651
Author: Daniel Pocock <daniel at pocock.com.au>
Date:   Sun May 20 18:48:19 2012 +0200

    Add -p to mkdir

diff --git a/debian/repro.init b/debian/repro.init
index df0dcd9..2921b8e 100644
--- a/debian/repro.init
+++ b/debian/repro.init
@@ -30,7 +30,7 @@ fi
 DAEMON_OPTS="/etc/repro/${NAME}.config --Daemonize=true --LoggingType=syslog --PidFile=${PIDFILE}"
 
 if [ ! -d "$PIDFILE_DIR" ];then
-	mkdir "$PIDFILE_DIR"
+	mkdir -p "$PIDFILE_DIR"
     chown $USER:$GROUP "$PIDFILE_DIR"
 fi
 
diff --git a/debian/resiprocate-turn-server.init b/debian/resiprocate-turn-server.init
index 9c37df1..0a53ebd 100644
--- a/debian/resiprocate-turn-server.init
+++ b/debian/resiprocate-turn-server.init
@@ -30,7 +30,7 @@ fi
 DAEMON_OPTS="/etc/reTurnServer.config --Daemonize=true --LoggingType=syslog --PidFile=${PIDFILE}"
 
 if [ ! -d "$PIDFILE_DIR" ];then
-	mkdir "$PIDFILE_DIR"
+	mkdir -p "$PIDFILE_DIR"
     chown $USER:$GROUP "$PIDFILE_DIR"
 fi
 

-- 
UNNAMED PROJECT



More information about the Pkg-voip-commits mailing list