JAL-629 Remove argfiles from the hashset of used argfiles once it has been used....
[jalview.git] / src / jalview / bin / argparser / BootstrapArgs.java
index d32a5b2..5c21d03 100644 (file)
@@ -214,6 +214,13 @@ public class BootstrapArgs
         }
       }
     }
+
+    // if in an argfile, remove it from the hashset so it can be re-used in
+    // another argfile
+    if (inArgFile != null)
+    {
+      argFiles.remove(inArgFile);
+    }
   }
 
   public boolean contains(Arg a)