I'm trying to pass a variable into a shell script, seen the examples, but still don't succeed... The variable remains empty inside the script. Must be simple what I'm doing wrong!
I've just tried it out using your variable names etc. and it's working for me. Click on the little down arrow to the left of your script and make sure you have "Include All Variables" selected...
Edited to add: I've just noticed that you included the macro in your post, so I downloaded it and it is set to "Include No Variables", so I'm pretty sure that's your problem...