title: Changing the PATH variable on FReeBSD
body: <p>I am trying to install Maven on FreeBSD (version 10.0-RELEASE-p7) using the following documentation </p>
  
  <p><a href="http://books.sonatype.com/mvnref-book/reference/installation-sect-maven-install.html" rel="nofollow">http://books.sonatype.com/mvnref-book/reference/installation-sect-maven-install.html</a></p>
  
  <p>I am using 'setenv' instead of 'export' to set my variables. However when I try to add maven to my path I get the following error </p>
  
  <pre><code>setenv: Variable name must contain alphanumeric characters.
  </code></pre>
  
  <p>This is the command I am trying to use</p>
  
  <pre><code>setenv PATH=${M2_HOME}/bin:${PATH}
  </code></pre>
  
  <p>Anybody knows a workaround?</p>