I understand that if you assign value to a variable like below, it is assigned the value at declaration time:
VER:=value
but when I do:
VER:=`python xxx.py`
....
cd ../../pythoncode && python yyy.py $(VER)
I got error saying no xxx.py file found, it is because that xxx.py is in the current folder, but when cd ../../pythoncode, xxx.py cannot be found.
How do I set the value of VER when VER is declared? so this way, VER value is set before cd ../../pythoncode, Thanks.
LJ
$(VER)(i.e.python xxx.py) as an argument topython xxx.pylike that?