bundle autoupdate somehow bin/stopwatch.sh is not executable fix #2601
This commit is contained in:
parent
3ffeb73b16
commit
37184d94d9
|
@ -1,4 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd console
|
||||
java -jar rusefi_autoupdate.jar version
|
||||
java -jar rusefi_autoupdate.jar version
|
||||
|
||||
# https://github.com/rusefi/rusefi/issues/2601
|
||||
chmod +x bin/*.sh
|
||||
|
|
|
@ -2,4 +2,7 @@
|
|||
|
||||
cd console
|
||||
java -jar rusefi_autoupdate.jar release
|
||||
echo Release update done.
|
||||
echo Release update done.
|
||||
|
||||
# https://github.com/rusefi/rusefi/issues/2601
|
||||
chmod +x bin/*.sh
|
||||
|
|
|
@ -12,6 +12,11 @@ public class FileUtil {
|
|||
ZipInputStream zis = new ZipInputStream(new FileInputStream(zipFileName));
|
||||
ZipEntry zipEntry = zis.getNextEntry();
|
||||
while (zipEntry != null) {
|
||||
/**
|
||||
* drama: java API does not have access to file permission meta info
|
||||
* apache commons compress does
|
||||
* https://stackoverflow.com/questions/1050560/maintain-file-permissions-when-extracting-from-a-zip-file-using-jdk-5-api
|
||||
*/
|
||||
File newFile = newFile(destDir, zipEntry);
|
||||
if (zipEntry.isDirectory()) {
|
||||
if (!newFile.isDirectory()) {
|
||||
|
|
Loading…
Reference in New Issue