[PC-BSD Commits] r5040 - pbibuild/pbi-source/PBCsource
svn at pcbsd.org
svn at pcbsd.org
Tue Nov 17 08:03:24 PST 2009
Author: kris
Date: 2009-11-17 08:03:24 -0800 (Tue, 17 Nov 2009)
New Revision: 5040
Modified:
pbibuild/pbi-source/PBCsource/pbistart.c
Log:
Load the lang file after cd'ing to the right dir ;P
Modified: pbibuild/pbi-source/PBCsource/pbistart.c
===================================================================
--- pbibuild/pbi-source/PBCsource/pbistart.c 2009-11-17 15:48:48 UTC (rev 5039)
+++ pbibuild/pbi-source/PBCsource/pbistart.c 2009-11-17 16:03:24 UTC (rev 5040)
@@ -335,10 +335,10 @@
char pbiscript[600];
strcpy(pbiscript, "echo '#!/bin/sh\n\
-LANG=`cat lang`; export LANG\n\
LD_LIBRARY_PATH=/Programs/.libs8/ ; export LD_LIBRARY_PATH\n\
cd ");
strcat(pbiscript, pbitmpdir);
+strcat(pbiscript, "\nLANG=`cat lang`; export LANG\n");
// If we are running on amd64 and installing 32bit PBI, use 64-native PBI
if( run32mode )
@@ -400,10 +400,10 @@
char pbiscript[600];
strcpy(pbiscript, "echo '#!/bin/sh\n\
-LANG=`cat lang`; export LANG\n\
LD_LIBRARY_PATH=/Programs/.libs8/ ; export LD_LIBRARY_PATH\n\
cd ");
strcat(pbiscript, pbitmpdir);
+strcat(pbiscript, "\nLANG=`cat lang`; export LANG\n");
// If we are running on amd64 and installing 32bit PBI, use 64-native PBI
if( run32mode )
{
More information about the Commits
mailing list