Skip to content

Ghidra is a software reverse engineering (SRE) framework

Corrected CabExtract build issue

ghidra133b112d7b383
diff --git a/GPL/CabExtract/build.gradle b/GPL/CabExtract/build.gradle
index cb46a44b5b..de524ca58e 100644
--- a/GPL/CabExtract/build.gradle
+++ b/GPL/CabExtract/build.gradle
@@ -28,6 +28,13 @@ task unpackCabExtract (type: Copy) {
// This is done since configure changes the contents for a platform
// NOTE: this can cause the 'build/unpack' to be deleted prior to an unpack
outputs.upToDateWhen { false }
+
+ doLast {
+ // Force all unpacked files to have the same timestamp
+ ant.touch() {
+ fileset(dir: file("build/unpack/${cabextract}"))
+ }
+ }
}
/*********************************************************************************