mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 08:26:15 +00:00
Updated Timeline build file to copy mactime.pl only if on Unix.
This commit is contained in:
parent
82a80778f5
commit
78b572acf1
@ -6,6 +6,10 @@
|
|||||||
<description>Builds, tests, and runs the project org.sleuthkit.autopsy.timeline.</description>
|
<description>Builds, tests, and runs the project org.sleuthkit.autopsy.timeline.</description>
|
||||||
<import file="nbproject/build-impl.xml"/>
|
<import file="nbproject/build-impl.xml"/>
|
||||||
|
|
||||||
|
<condition property="os.family.unix">
|
||||||
|
<os family="unix"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
<!-- Verify that the TSK_HOME env variable is set -->
|
<!-- Verify that the TSK_HOME env variable is set -->
|
||||||
<target name="findTSK">
|
<target name="findTSK">
|
||||||
<property environment="env"/>
|
<property environment="env"/>
|
||||||
@ -16,7 +20,7 @@
|
|||||||
<echo> TSK_HOME: ${env.TSK_HOME}</echo>
|
<echo> TSK_HOME: ${env.TSK_HOME}</echo>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="getMacTime" depends="findTSK">
|
<target name="getMacTime" depends="findTSK" if="os.family.unix">
|
||||||
<property environment="env"/>
|
<property environment="env"/>
|
||||||
<copy file="${env.TSK_HOME}/tools/timeline/mactime" tofile="${basedir}/release/mactime/mactime.pl"/>
|
<copy file="${env.TSK_HOME}/tools/timeline/mactime" tofile="${basedir}/release/mactime/mactime.pl"/>
|
||||||
</target>
|
</target>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user