Sfoglia il codice sorgente

small bug at the command execution core

git-svn-id: http://repo.nplusc.de/svn/iZink@49 8b19561d-0d00-6744-8ac1-9afc8f58a8aa
masterX244 12 anni fa
parent
commit
25b209f003

+ 1 - 1
IZSetup/src/de/nplusc/izc/InstallPak/InstallProgressGui.java

@@ -171,7 +171,7 @@ public class InstallProgressGui extends javax.swing.JFrame
                     String[] cmd = queue[i];
                     if(!cmd[0].equalsIgnoreCase("wait"))
                     {
-                        if(!cmd[0].substring(0,5).equalsIgnoreCase("Copy:"))
+                        if(cmd[0].length()<4||(!cmd[0].substring(0,5).equalsIgnoreCase("Copy:")))
                         {
                         Tools.DebugHelperPrint(msg, true, "iZsetup.enableFinerDebug");
                         Tools.DebugHelperPrint(arraytools.ArrayKleben(cmd, " "), true, "iZsetup.enableFinerDebug");