Skip to content

Commit

Permalink
dir location checked before copying. No new dir created
Browse files Browse the repository at this point in the history
  • Loading branch information
sidheshenator committed Apr 2, 2015
1 parent bef5f8d commit 170fdc7
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions build.xml
Expand Up @@ -71,10 +71,15 @@
<copy file="${basedir}/KNOWN_ISSUES.txt" tofile="${zip-tmp}/${app.name}/KNOWN_ISSUES.txt"/>
<unzip src="${thirdparty.dir}/gstreamer/${os.family}/i386/0.10.7/gstreamer.zip" dest="${zip-tmp}/${app.name}/gstreamer"/>
<copy file="${basedir}/icons/icon.ico" tofile="${zip-tmp}/${app.name}/icon.ico" overwrite="true"/>
<!-- Copy the Autopsy documentation to the docs folder -->
<copy flatten="true" todir="${zip-tmp}/${app.name}/docs">
<fileset dir="${basedir}/docs/doxygen-user/user-docs"/>
</copy>
<!-- Copy the Autopsy documentation to the docs folder if user-docs exist -->
<if>
<available file="${basedir}/docs/doxygen-user/user-docs" type="dir"/>
<then>
<copy flatten="true" todir="${zip-tmp}/${app.name}/docs">
<fileset dir="${basedir}/docs/doxygen-user/user-docs"/>
</copy>
</then>
</if>

<antcall target="copyLibsToZip"/>

Expand Down

0 comments on commit 170fdc7

Please sign in to comment.