Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9cb7d6ce9d | ||
|
|
ce062f30ca | ||
|
|
164169e375 |
@@ -1,3 +1,9 @@
|
|||||||
|
## 0.4.4 - 17/06/2017
|
||||||
|
Remove lock/unlock from init function for resove bug
|
||||||
|
|
||||||
|
## 0.4.3 - 17/06/2017
|
||||||
|
Fix path of sed in lock function
|
||||||
|
|
||||||
## 0.4.2 - 16/06/2017
|
## 0.4.2 - 16/06/2017
|
||||||
Fix another problem on generate installation identifier to sendo for statistic
|
Fix another problem on generate installation identifier to sendo for statistic
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
#
|
#
|
||||||
function initialize {
|
function initialize {
|
||||||
|
|
||||||
lock
|
#lock
|
||||||
|
|
||||||
log_write "Run initialize"
|
log_write "Run initialize"
|
||||||
|
|
||||||
@@ -52,7 +52,7 @@ function initialize {
|
|||||||
|
|
||||||
log_write "End initialize"
|
log_write "End initialize"
|
||||||
|
|
||||||
unlock
|
#unlock
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1418,7 +1418,7 @@ list_descendants ()
|
|||||||
#
|
#
|
||||||
function lock {
|
function lock {
|
||||||
|
|
||||||
sleep 0.$((100 * $RANDOM / 32767)) | sed 's/..$/.&/'
|
sleep 0.$((100 * $RANDOM / 32767)) | $SED 's/..$/.&/'
|
||||||
|
|
||||||
local max_time=10
|
local max_time=10
|
||||||
local current_time=$(($1 + 1))
|
local current_time=$(($1 + 1))
|
||||||
@@ -1496,7 +1496,7 @@ function debug2 {
|
|||||||
|
|
||||||
VERSION=0
|
VERSION=0
|
||||||
SUB_VERSION=4
|
SUB_VERSION=4
|
||||||
RELEASE_VERSION=2
|
RELEASE_VERSION=4
|
||||||
|
|
||||||
DIR_SCRIPT=`dirname $0`
|
DIR_SCRIPT=`dirname $0`
|
||||||
NAME_SCRIPT=${0##*/}
|
NAME_SCRIPT=${0##*/}
|
||||||
|
|||||||
Reference in New Issue
Block a user