Add default value for system property 'os.arch_full'
This commit is contained in:
parent
7a94becc21
commit
b0e1daa46a
|
@ -120,7 +120,7 @@ public final class SerialPort
|
|||
}
|
||||
else if ((OS.indexOf("nix") >= 0) || (OS.indexOf("nux") >= 0))
|
||||
{
|
||||
if (!System.getProperty("os.arch_full").isEmpty())
|
||||
if (!System.getProperty("os.arch_full", "").isEmpty())
|
||||
libraryPath = "Linux/" + System.getProperty("os.arch_full").toLowerCase();
|
||||
else if (System.getProperty("os.arch").indexOf("arm") >= 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue