Testing
This commit is contained in:
parent
13942e34f3
commit
affc74e711
@ -11,7 +11,7 @@ if [ -f $ch_file ]; then
|
|||||||
readonly branch=$(git log --graph --all --decorate $2 | head -n 1 | sed -E -e 's/(.*?)(\(.*\))/\2/g')
|
readonly branch=$(git log --graph --all --decorate $2 | head -n 1 | sed -E -e 's/(.*?)(\(.*\))/\2/g')
|
||||||
line="$repo:$branch"
|
line="$repo:$branch"
|
||||||
echo $line
|
echo $line
|
||||||
if ! grep -Eq $line $ch_file; then
|
if ! grep -Eq "\"$line\"" $ch_file; then
|
||||||
echo $line >> $ch_file
|
echo $line >> $ch_file
|
||||||
echo "DOWNLOAD, /etc/dc/dc2c.4.21.bin, $(date +%Y-%m-%dT%T), N/A" >> $update_log_file
|
echo "DOWNLOAD, /etc/dc/dc2c.4.21.bin, $(date +%Y-%m-%dT%T), N/A" >> $update_log_file
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user