[PC-BSD Commits] r7342 - pcbsd-projects/pbi-manager
svn at pcbsd.org
svn at pcbsd.org
Tue Aug 3 18:45:16 PDT 2010
Author: kris
Date: 2010-08-03 18:45:15 -0700 (Tue, 03 Aug 2010)
New Revision: 7342
Modified:
pcbsd-projects/pbi-manager/pbi-manager
Log:
Fixed bug when parsing dbus services, ignore binary flags for links file
Modified: pcbsd-projects/pbi-manager/pbi-manager
===================================================================
--- pcbsd-projects/pbi-manager/pbi-manager 2010-08-03 19:15:02 UTC (rev 7341)
+++ pcbsd-projects/pbi-manager/pbi-manager 2010-08-04 01:45:15 UTC (rev 7342)
@@ -2736,8 +2736,8 @@
dbext=".service"
# We have a service file, find the target binary and make sure its added as a wrapper only
- _dbbin="`grep 'Exec' ${PBI_PROGDIRPATH}/${_dsd}/${_dbfile} | cut -d '=' -f 2`"
- _dbbin=`echo $_dbbin | sed "s|${PBI_PROGDIRPATH}/||g"`
+ _dbbin="`grep 'Exec' ${PBI_PROGDIRPATH}/${_dsd}/${_dbfile} | cut -d '=' -f 2 | cut -d ' ' -f 1`"
+ _dbbin=`echo "$_dbbin" | sed "s|${PBI_PROGDIRPATH}/||g"`
if [ ! -z "$_dbbin" ] ; then
echo "${_dbbin} ${_dbbin} binwrapper" >> "$_ef"
fi
More information about the Commits
mailing list