25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Dollar is unnecessary on arithmetic variables

This commit is contained in:
Badlop 2021-12-23 11:18:09 +01:00
parent d8be168cff
commit f4e2d278ba

View File

@ -30,54 +30,54 @@ else
fi
get_random
WAVE1_AMPLITUDE=$((2 + $R % 5))
WAVE1_AMPLITUDE=$((2 + R % 5))
get_random
WAVE1_LENGTH=$((50 + $R % 25))
WAVE1_LENGTH=$((50 + R % 25))
get_random
WAVE2_AMPLITUDE=$((2 + $R % 5))
WAVE2_AMPLITUDE=$((2 + R % 5))
get_random
WAVE2_LENGTH=$((50 + $R % 25))
WAVE2_LENGTH=$((50 + R % 25))
get_random
WAVE3_AMPLITUDE=$((2 + $R % 5))
WAVE3_AMPLITUDE=$((2 + R % 5))
get_random
WAVE3_LENGTH=$((50 + $R % 25))
WAVE3_LENGTH=$((50 + R % 25))
get_random
W1_LINE_START_Y=$((10 + $R % 40))
W1_LINE_START_Y=$((10 + R % 40))
get_random
W1_LINE_STOP_Y=$((10 + $R % 40))
W1_LINE_STOP_Y=$((10 + R % 40))
get_random
W2_LINE_START_Y=$((10 + $R % 40))
W2_LINE_START_Y=$((10 + R % 40))
get_random
W2_LINE_STOP_Y=$((10 + $R % 40))
W2_LINE_STOP_Y=$((10 + R % 40))
get_random
W3_LINE_START_Y=$((10 + $R % 40))
W3_LINE_START_Y=$((10 + R % 40))
get_random
W3_LINE_STOP_Y=$((10 + $R % 40))
W3_LINE_STOP_Y=$((10 + R % 40))
get_random
B1_LINE_START_Y=$(($R % 40))
B1_LINE_START_Y=$((R % 40))
get_random
B1_LINE_STOP_Y=$(($R % 40))
B1_LINE_STOP_Y=$((R % 40))
get_random
B2_LINE_START_Y=$(($R % 40))
B2_LINE_START_Y=$((R % 40))
get_random
B2_LINE_STOP_Y=$(($R % 40))
#B3_LINE_START_Y=$(($R % 40))
#B3_LINE_STOP_Y=$(($R % 40))
B2_LINE_STOP_Y=$((R % 40))
#B3_LINE_START_Y=$((R % 40))
#B3_LINE_STOP_Y=$((R % 40))
get_random
B1_LINE_START_X=$(($R % 20))
B1_LINE_START_X=$((R % 20))
get_random
B1_LINE_STOP_X=$((100 + $R % 40))
B1_LINE_STOP_X=$((100 + R % 40))
get_random
B2_LINE_START_X=$(($R % 20))
B2_LINE_START_X=$((R % 20))
get_random
B2_LINE_STOP_X=$((100 + $R % 40))
#B3_LINE_START_X=$(($R % 20))
#B3_LINE_STOP_X=$((100 + $R % 40))
B2_LINE_STOP_X=$((100 + R % 40))
#B3_LINE_START_X=$((R % 20))
#B3_LINE_STOP_X=$((100 + R % 40))
get_random
ROLL_X=$(($R % 40))
ROLL_X=$((R % 40))
convert -size 180x60 xc:none -pointsize 40 \
\( -clone 0 -fill white \