__MSYS2__ acts like UNIX but cannot handle --x permission
https://github.com/upx/upx/issues/256 modified: p_unix.cpp
This commit is contained in:
parent
c2aa5c35f7
commit
a9c08c6f52
@ -63,7 +63,7 @@ bool PackUnix::canPack()
|
||||
if (exetype == 0)
|
||||
return false;
|
||||
|
||||
#if defined(__unix__)
|
||||
#if defined(__unix__) && !defined(__MSYS2__)
|
||||
// must be executable by owner
|
||||
if ((fi->st.st_mode & S_IXUSR) == 0)
|
||||
throwCantPack("file not executable; try 'chmod +x'");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user