Gli apici...

variabile2 = '<%= variabile1 %>';

ciao