[PC-BSD Commits] r3987 - in pbibuild/pbi-source: PBIsource PBItext

svn at pcbsd.org svn at pcbsd.org
Wed May 27 09:47:41 PDT 2009


Author: kris
Date: 2009-05-27 09:47:41 -0700 (Wed, 27 May 2009)
New Revision: 3987

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

Fixed a bug in the pbi installer, don't need to use PBILOC, PROGDIR is more appropriate



Modified: pbibuild/pbi-source/PBIsource/pbi.cpp
===================================================================
--- pbibuild/pbi-source/PBIsource/pbi.cpp	2009-05-27 16:41:42 UTC (rev 3986)
+++ pbibuild/pbi-source/PBIsource/pbi.cpp	2009-05-27 16:47:41 UTC (rev 3987)
@@ -649,7 +649,7 @@
                    stream2 << "then\n";
                    stream2 << "  for i in `ls ${PROGDIR}/libdata/ldconfig`\n";
                    stream2 << "  do\n";
-                   stream2 << "    TMP=`cat ${PBILOC}/libdata/ldconfig/${i}`\n";
+                   stream2 << "    TMP=`cat ${PROGDIR}/libdata/ldconfig/${i}`\n";
                    stream2 << "    echo $LDCONFIGDIRS | grep \"${TMP}:\" >/dev/null 2>/dev/null\n";
                    stream2 << "    if [ \"$?\" != \"0\" ]\n";
                    stream2 << "    then\n";

Modified: pbibuild/pbi-source/PBItext/main.cpp
===================================================================
--- pbibuild/pbi-source/PBItext/main.cpp	2009-05-27 16:41:42 UTC (rev 3986)
+++ pbibuild/pbi-source/PBItext/main.cpp	2009-05-27 16:47:41 UTC (rev 3987)
@@ -590,7 +590,7 @@
                   stream2 << "then\n";
                   stream2 << "  for i in `ls ${PROGDIR}/libdata/ldconfig`\n";
                   stream2 << "  do\n";
-                  stream2 << "    TMP=`cat ${PBILOC}/libdata/ldconfig/${i}`\n";
+                  stream2 << "    TMP=`cat ${PROGDIR}/libdata/ldconfig/${i}`\n";
                   stream2 << "    echo $LDCONFIGDIRS | grep \"${TMP}:\" >/dev/null 2>/dev/null\n";
                   stream2 << "    if [ \"$?\" != \"0\" ]\n";
                   stream2 << "    then\n";



More information about the Commits mailing list