[PC-BSD Commits] r3967 - pbibuild/pbi-source/PBIsource

svn at pcbsd.org svn at pcbsd.org
Tue May 19 10:57:30 PDT 2009


Author: kris
Date: 2009-05-19 10:57:29 -0700 (Tue, 19 May 2009)
New Revision: 3967

Modified:
   pbibuild/pbi-source/PBIsource/pbi.cpp
Log:

Fixed another spacing bug, and throw in directory creation again



Modified: pbibuild/pbi-source/PBIsource/pbi.cpp
===================================================================
--- pbibuild/pbi-source/PBIsource/pbi.cpp	2009-05-19 17:54:40 UTC (rev 3966)
+++ pbibuild/pbi-source/PBIsource/pbi.cpp	2009-05-19 17:57:29 UTC (rev 3967)
@@ -1456,6 +1456,7 @@
         
        // Check if we are installing on a user-provided path, and sym-link back to Programs
        QString RegularPath = "/Programs/" + ProgDirName; 
+       NewDir.mkpath(InstallDirPath);
        if ( InstallDirPath != RegularPath ) 
        { 
            system("ln -s '" + InstallDirPath + "' " + "/Programs/" + ProgDirName); 
@@ -1959,7 +1960,7 @@
          QFile file4( "extract.sh" );
          if ( file4.open( IO_WriteOnly ) ) {
                QTextStream stream4( &file4 );
-	       stream4 << "#!/bin/sh\nSKIP=`cat pbiskip`\ntail +${SKIP} pbilink | ./lzma d -si -so | tar xpov -C \"${1}\" -f - ";
+	       stream4 << "#!/bin/sh\nSKIP=`cat pbiskip`\ntail +${SKIP} pbilink | ./lzma d -si -so | tar xpov -C \"${1}\" -f -";
                  file4.close();
              }	
 	



More information about the Commits mailing list