Makefile does not generate a correct wubi-selfextract.exe

Bug #242682 reported by Agostino Russo on 2008-06-24
Affects Status Importance Assigned to Milestone
Agostino Russo

Bug Description

When cleaning up the code I didn't merge the following changes in the Makefile, that result in a self-extract unable to unpack itself since the internal executable name is different from the one stored in 7zip.conf. Patch provided (but untested)

--- Makefile.old 2008-06-24 15:42:36.000000000 +0100
+++ 2008-06-24 15:44:14.000000000 +0100
@@ -61,9 +61,10 @@
        du -h dist/Wubi*.exe

 wubi-selfextract: wubi
- cd dist; 7z a wubi.7z Wubi*.exe
+ cp dist/Wubi*.exe dist/wubi.exe
+ cd dist; 7z a wubi.7z wubi.exe
        cat tools/7zS.sfx data/7zip.conf dist/wubi.7z > dist/wubi-selfextract.exe
- rm dist/wubi.7z
+ rm dist/wubi.7z dist/wubi.exe

        sed -e "s/@VERSION@/$(VERSION)/g" < $^ > $@

Agostino Russo (ago) on 2008-06-24
Changed in wubi:
assignee: nobody → ago
importance: Undecided → High
status: New → In Progress
description: updated
Agostino Russo (ago) on 2008-06-26
Changed in wubi:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers