Permalink
Browse files

Use . (dot) to include files while invoking /bin/sh (#169)

  • Loading branch information...
1 parent f1d649d commit aa4ba56a560f9ab29e4feda23935a8aec2cfe5a2 @xabolcs xabolcs committed Apr 28, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 build.xml
View
@@ -53,15 +53,15 @@
<delete file="${build.filename}"/>
<exec executable="/bin/sh" dir="addon-sdk">
<arg value="-c"/>
- <arg value="source bin/activate;cd ../extension;cfx xpi"/>
+ <arg value=". bin/activate;cd ../extension;cfx xpi"/>
</exec>
<echo>build.filename: ${build.filename}</echo>
</target>
<target name="run">
<exec executable="/bin/sh" dir="addon-sdk">
<arg value="-c"/>
- <arg value="source bin/activate;cd ../extension;cfx run ${cfx.binary}"/>
+ <arg value=". bin/activate;cd ../extension;cfx run ${cfx.binary}"/>
</exec>
</target>
@@ -70,7 +70,7 @@
dir="addon-sdk"
resultproperty="test.result">
<arg value="-c"/>
- <arg value="source bin/activate;cd ../extension;cfx test ${cfx.binary}"/>
+ <arg value=". bin/activate;cd ../extension;cfx test ${cfx.binary}"/>
</exec>
<fail message="Tests failed!">
<condition>

0 comments on commit aa4ba56

Please sign in to comment.