Étienne Mollier pushed to branch upstream at Debian Med / lighter


Commits:
ded63b6f by Étienne Mollier at 2024-11-09T20:01:07+01:00
New upstream version 1.1.3
- - - - -


1 changed file:

- main.cpp


Changes:

=====================================
main.cpp
=====================================
@@ -18,7 +18,7 @@
 #include "pthread.h"
 
 
-char LIGHTER_VERSION[] = "Lighter v1.1.2" ;
+char LIGHTER_VERSION[] = "Lighter v1.1.3" ;
 
 char nucToNum[26] = { 0, -1, 1, -1, -1, -1, 2, 
        -1, -1, -1, -1, -1, -1, -1,
@@ -375,6 +375,16 @@ int main( int argc, char *argv[] )
                }
                else if ( !strcmp( "-od", argv[i] ) )
                {
+                       int j ;
+                       for (j = 0 ; argv[i + 1][j] ; ++j)
+                       {
+                               if (argv[i + 1][j] == '/')
+                               {
+                                       argv[i + 1][j] = '\0' ;
+                                       mkdir( argv[i + 1], 0700 ) ;
+                                       argv[i + 1][j] = '/' ;
+                               }
+                       }
                        mkdir( argv[i + 1], 0700 ) ;
                        reads.SetOutputDirectory( argv[i + 1] ) ;
                        ++i ;



View it on GitLab: 
https://salsa.debian.org/med-team/lighter/-/commit/ded63b6f1d4add45aec3bd8d1d0092f53c313fcf

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/lighter/-/commit/ded63b6f1d4add45aec3bd8d1d0092f53c313fcf
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to