[PC-BSD Commits] r2022 - pbibuild/pbi-source/PBItext
svn at pcbsd.org
svn at pcbsd.org
Thu Jun 5 09:43:56 PDT 2008
Author: kris
Date: 2008-06-05 09:43:55 -0700 (Thu, 05 Jun 2008)
New Revision: 2022
Modified:
pbibuild/pbi-source/PBItext/main.cpp
Log:
Fixed a bug creating /Programs/bin too slowly that icons / links don't get created
Modified: pbibuild/pbi-source/PBItext/main.cpp
===================================================================
--- pbibuild/pbi-source/PBItext/main.cpp 2008-06-05 15:43:46 UTC (rev 2021)
+++ pbibuild/pbi-source/PBItext/main.cpp 2008-06-05 16:43:55 UTC (rev 2022)
@@ -663,7 +663,8 @@
// Regular Program Application
if ( ExeLink[exenum] == "0" && ExeWebLink[exenum] == "0" && ExeLink[exenum] == "0" ) {
- runCommand("mkdir -p /Programs/bin >/dev/null 2>/dev/null");
+ QDir bindir;
+ bindir.mkdir ( "/Programs/bin", TRUE );
runCommand("ln -fs /Programs/" + ProgDirName + "/.sbin/" + Binary + " /Programs/bin/" + Binary+ " >/dev/null 2>/dev/null");
@@ -905,7 +906,8 @@
if ( ExeLink[exenum] == "0" && ExeWebLink[exenum] == "0") {
// Create desktop link
- runCommand("mkdir -p /Programs/bin >/dev/null 2>/dev/null");
+ QDir bindir;
+ bindir.mkdir ( "/Programs/bin", TRUE );
runCommand("ln -fs /Programs/" + ProgDirName + "/.sbin/" + Binary + " /Programs/bin/" + Binary+ " >/dev/null 2>/dev/null");
if ( file2.open( IO_WriteOnly) ) {
More information about the Commits
mailing list