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

svn at pcbsd.org svn at pcbsd.org
Sat Apr 4 13:14:08 PST 2009


Author: kris
Date: 2009-04-04 14:14:08 -0700 (Sat, 04 Apr 2009)
New Revision: 3764

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

Fixed a boneheaded bug on my part, it helps if we still create the PBI directory :P



Modified: pbibuild/pbi-source/PBIsource/pbi.cpp
===================================================================
--- pbibuild/pbi-source/PBIsource/pbi.cpp	2009-04-04 20:53:05 UTC (rev 3763)
+++ pbibuild/pbi-source/PBIsource/pbi.cpp	2009-04-04 21:14:08 UTC (rev 3764)
@@ -1405,6 +1405,7 @@
         
         //NewDir.mkpath("/Programs/" + ProgDirName);
         QString RegularPath = "/Programs/" + ProgDirName;
+	NewDir.mkpath(InstallDirPath);
         if ( InstallDirPath != RegularPath )
         {
           system("ln -s '" + InstallDirPath + "' " + "/Programs/" + ProgDirName);
@@ -1427,7 +1428,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