Browse Source

Remove /usr/bin/time as it isn't working on Debian 8.

markjcrane 9 years ago
parent
commit
c9b7c970ec
1 changed files with 23 additions and 23 deletions
  1. 23 23
      install/debian/install_fusionpbx.sh

+ 23 - 23
install/debian/install_fusionpbx.sh

@@ -1180,7 +1180,7 @@ EOF
 		cd /usr/src
 		cd /usr/src
 		if [ "$FSSTABLE" == true ]; then
 		if [ "$FSSTABLE" == true ]; then
 			echo "installing $FSStableVer of FreeSWITCH"
 			echo "installing $FSStableVer of FreeSWITCH"
-			/usr/bin/time /usr/bin/git clone $FSGIT
+			/usr/bin/git clone $FSGIT
 			cd /usr/src/freeswitch
 			cd /usr/src/freeswitch
 			/usr/bin/git checkout $FSStableVer
 			/usr/bin/git checkout $FSStableVer
 			if [ $? -ne 0 ]; then
 			if [ $? -ne 0 ]; then
@@ -1197,7 +1197,7 @@ EOF
 			cd /usr/src/freeswitch
 			cd /usr/src/freeswitch
 		else
 		else
 			echo "going dev branch."
 			echo "going dev branch."
-			/usr/bin/time /usr/bin/git clone $FSGIT
+			/usr/bin/git clone $FSGIT
 			if [ $? -ne 0 ]; then
 			if [ $? -ne 0 ]; then
 				#git had an error
 				#git had an error
 				/bin/echo "GIT ERROR"
 				/bin/echo "GIT ERROR"
@@ -1257,14 +1257,14 @@ EOF
 				/bin/echo
 				/bin/echo
 				read -p "Press Enter to continue (check for errors)"
 				read -p "Press Enter to continue (check for errors)"
 			fi
 			fi
-			/usr/bin/time /usr/src/freeswitch/bootstrap.sh -j
+			/usr/src/freeswitch/bootstrap.sh -j
 		else 
 		else 
 			/bin/echo "  singlecore processor detected. Starting Bootstrap sans -j"
 			/bin/echo "  singlecore processor detected. Starting Bootstrap sans -j"
 			if [ $DEBUG -eq 1 ]; then
 			if [ $DEBUG -eq 1 ]; then
 				/bin/echo
 				/bin/echo
 				read -p "Press Enter to continue (check for errors)"
 				read -p "Press Enter to continue (check for errors)"
 			fi
 			fi
-			/usr/bin/time /usr/src/freeswitch/bootstrap.sh
+			/usr/src/freeswitch/bootstrap.sh
 		fi
 		fi
 
 
 		if [ $? -ne 0 ]; then
 		if [ $? -ne 0 ]; then
@@ -1322,15 +1322,15 @@ EOF
 		/bin/echo -ne " ."
 		/bin/echo -ne " ."
 		case "$FSDB" in
 		case "$FSDB" in
 		[Pp]*)
 		[Pp]*)
-			#/usr/bin/time /usr/src/freeswitch/configure --enable-core-pgsql-support --enable-zrtp
+			#/usr/src/freeswitch/configure --enable-core-pgsql-support --enable-zrtp
 			#zrtp busted atm.
 			#zrtp busted atm.
-			/usr/bin/time /usr/src/freeswitch/configure --enable-core-pgsql-support
+			/usr/src/freeswitch/configure --enable-core-pgsql-support
 			
 			
 		;;
 		;;
 		*)
 		*)
-			#/usr/bin/time /usr/src/freeswitch/configure --enable-zrtp
+			#/usr/src/freeswitch/configure --enable-zrtp
 			#zrtp busted atm
 			#zrtp busted atm
-			/usr/bin/time /usr/src/freeswitch/configure 
+			/usr/src/freeswitch/configure 
 		;;
 		;;
 		esac
 		esac
 
 
@@ -1377,12 +1377,12 @@ EOF
 		if [ $CORES -gt 1 ]; then 
 		if [ $CORES -gt 1 ]; then 
 			/bin/echo "  multicore processor detected. Compiling with -j $CORES"
 			/bin/echo "  multicore processor detected. Compiling with -j $CORES"
 			#per anthm compile the freeswitch core first, then the modules.
 			#per anthm compile the freeswitch core first, then the modules.
-			/usr/bin/time /usr/bin/make -j $CORES core
-			/usr/bin/time /usr/bin/make -j $CORES
-			/usr/bin/time /usr/bin/make
+			/usr/bin/make -j $CORES core
+			/usr/bin/make -j $CORES
+			/usr/bin/make
 		else 
 		else 
 			/bin/echo "  singlecore processor detected. Starting compile sans -j"
 			/bin/echo "  singlecore processor detected. Starting compile sans -j"
-			/usr/bin/time /usr/bin/make 
+			/usr/bin/make 
 		fi
 		fi
 
 
 		if [ $? -ne 0 ]; then
 		if [ $? -ne 0 ]; then
@@ -1419,12 +1419,12 @@ EOF
 		cd /usr/src/freeswitch
 		cd /usr/src/freeswitch
 		if [ $CORES -gt 1 ]; then 
 		if [ $CORES -gt 1 ]; then 
 			/bin/echo "  multicore processor detected. Installing with -j $CORES"
 			/bin/echo "  multicore processor detected. Installing with -j $CORES"
-			/usr/bin/time /usr/bin/make -j $CORES install
+			/usr/bin/make -j $CORES install
 		else 
 		else 
 			/bin/echo "  singlecore processor detected. Starting install sans -j"
 			/bin/echo "  singlecore processor detected. Starting install sans -j"
-			/usr/bin/time /usr/bin/make install
+			/usr/bin/make install
 		fi
 		fi
-		#/usr/bin/time /usr/bin/make install
+		#/usr/bin/make install
 
 
 		if [ $? -ne 0 ]; then
 		if [ $? -ne 0 ]; then
 			#previous had an error
 			#previous had an error
@@ -1453,12 +1453,12 @@ EOF
 		cd /usr/src/freeswitch
 		cd /usr/src/freeswitch
 		if [ $CORES -gt 1 ]; then 
 		if [ $CORES -gt 1 ]; then 
 			/bin/echo "  multicore processor detected. Installing with -j $CORES"
 			/bin/echo "  multicore processor detected. Installing with -j $CORES"
-			/usr/bin/time /usr/bin/make -j $CORES hd-sounds-install
+			/usr/bin/make -j $CORES hd-sounds-install
 		else 
 		else 
 			/bin/echo "  singlecore processor detected. Starting install sans -j"
 			/bin/echo "  singlecore processor detected. Starting install sans -j"
-			/usr/bin/time /usr/bin/make hd-sounds-install
+			/usr/bin/make hd-sounds-install
 		fi
 		fi
-		#/usr/bin/time /usr/bin/make hd-sounds-install
+		#/usr/bin/make hd-sounds-install
 
 
 		if [ $? -ne 0 ]; then
 		if [ $? -ne 0 ]; then
 			#previous had an error
 			#previous had an error
@@ -1494,10 +1494,10 @@ EOF
 		cd /usr/src/freeswitch
 		cd /usr/src/freeswitch
 		if [ $CORES -gt 1 ]; then 
 		if [ $CORES -gt 1 ]; then 
 			/bin/echo "  multicore processor detected. Installing with -j $CORES"
 			/bin/echo "  multicore processor detected. Installing with -j $CORES"
-			/usr/bin/time /usr/bin/make -j $CORES hd-moh-install
+			/usr/bin/make -j $CORES hd-moh-install
 		else 
 		else 
 			/bin/echo "  singlecore processor detected. Starting install sans -j"
 			/bin/echo "  singlecore processor detected. Starting install sans -j"
-			/usr/bin/time /usr/bin/make hd-moh-install
+			/usr/bin/make hd-moh-install
 		fi
 		fi
 		#/usr/bin/make hd-moh-install
 		#/usr/bin/make hd-moh-install
 
 
@@ -2903,7 +2903,7 @@ if [ $UPGFREESWITCH -eq 1 ]; then
 				fi
 				fi
 			fi
 			fi
 
 
-			#/usr/bin/time /usr/bin/git clone -b $FSStableVer git://stash.freeswitch.org/scm/fs/freeswitch.git
+			#/usr/bin/git clone -b $FSStableVer git://stash.freeswitch.org/scm/fs/freeswitch.git
 			/usr/bin/git pull
 			/usr/bin/git pull
 			if [ $? -ne 0 ]; then
 			if [ $? -ne 0 ]; then
 				#git checkout had an error
 				#git checkout had an error
@@ -2933,10 +2933,10 @@ if [ $UPGFREESWITCH -eq 1 ]; then
 
 
 		if [ $CORES > "1" ]; then 
 		if [ $CORES > "1" ]; then 
 			/bin/echo "  multicore processor detected. Upgrading with -j $CORES"
 			/bin/echo "  multicore processor detected. Upgrading with -j $CORES"
-			/usr/bin/time /usr/bin/make -j $CORES current
+			/usr/bin/make -j $CORES current
 		else 
 		else 
 			/bin/echo "  singlecore processor detected. Starting upgrade sans -j"
 			/bin/echo "  singlecore processor detected. Starting upgrade sans -j"
-			/usr/bin/time /usr/bin/make current
+			/usr/bin/make current
 		fi
 		fi
 		#/usr/bin/make current
 		#/usr/bin/make current
 		if [ $? -ne 0 ]; then
 		if [ $? -ne 0 ]; then