Skip to content

Commit

Permalink
Fix build for linux box.wq
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Feinberg committed Jul 19, 2011
1 parent 3eb5b05 commit 09fa877
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions build.xml
Expand Up @@ -43,10 +43,6 @@
<property name="reference" location="reference" /> <property name="reference" location="reference" />
<property name="dist" location="distribution" /> <property name="dist" location="distribution" />


<property name="chmod" value="chmod"/>
<property name="rsync" value="rsync"/>


<target name="init"> <target name="init">
<echo>Properties initialized. <echo>Properties initialized.
src path ${src} src path ${src}
Expand All @@ -64,21 +60,17 @@
</target> </target>


<target name="pushweb" depends="build"> <target name="pushweb" depends="build">
<exec executable="${chmod}" dir="distribution/web"> <exec executable="sh" dir="distribution/web">
<arg value="-R"/> <arg value="-c"/>
<arg value="+rwX"/> <arg value="chmod -R +rwX *"/>
<arg value="*"/> </exec>
<exec executable="sh" dir="distribution/web">
<arg value="-c"/>
<arg value="rsync -azv --exclude .svn --delete -e ssh * jdf@mrfeinberg.com:/var/www/html/mrfeinberg.com/peasy"/>
</exec> </exec>
<exec executable="${rsync}" dir="distribution/web"> <exec executable="sh" dir="distribution/web">
<env key="PATH" value="/home/feinberg"/> <arg value="-c"/>
<arg value="-azv"/> <arg value="ssh jdf@mrfeinberg.com chmod -R a+rX /var/www/html/mrfeinberg.com/peasy"/>
<arg value="--exclude"/>
<arg value=".svn/"/>
<arg value="--delete"/>
<arg value="-e"/>
<arg value="ssh"/>
<arg value="*"/>
<arg value="mrfeinberg.com:/var/www/html/mrfeinberg.com/peasy"/>
</exec> </exec>
</target> </target>


Expand Down

0 comments on commit 09fa877

Please sign in to comment.