Elif not Else if
This commit is contained in:
parent
e90025c7ea
commit
cdb87eb3d7
|
@ -6,7 +6,7 @@ Y=1.25
|
||||||
if [ "${1}" == "set" ]; then
|
if [ "${1}" == "set" ]; then
|
||||||
paxi move $X 0
|
paxi move $X 0
|
||||||
paxi move 0 $Y
|
paxi move 0 $Y
|
||||||
else if [ "${1}" == "reset" ]; then
|
elif [ "${1}" == "reset" ]; then
|
||||||
paxi move -$X 0
|
paxi move -$X 0
|
||||||
paxi move 0 -$Y
|
paxi move 0 -$Y
|
||||||
fi
|
fi
|
Loading…
Reference in New Issue