Changeset 7626cf4


Ignore:
Timestamp:
05/16/14 07:27:26 (3 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0.2
Children:
eaea8ff
Parents:
79d31c1
Message:

use awk to fix newline replacement in app descriptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pbi-manager/pbi-manager

    r30e337f r7626cf4  
    11371137        fi 
    11381138        if [ -z "$PBI_SHORTDESC" ] ; then 
    1139                 PBI_SHORTDESC="`${PKG_CMD} rquery -U '%c' ${PBI_ORIGIN} | awk 1 ORS=' ' | sed 's|  |<br>|g' | sed 's|*|-|g'`" 
     1139                PBI_SHORTDESC="`${PKG_CMD} rquery -U '%c' ${PBI_ORIGIN} | awk 1 ORS='<br>' | sed 's|*|-|g'`" 
    11401140        fi 
    11411141        if [ -z "$PBI_DESC" ] ; then 
    1142                 PBI_DESC="`${PKG_CMD} rquery -U '%e' ${PBI_ORIGIN} | awk 1 ORS=' ' | sed 's|  |<br>|g' | sed 's|*|-|g'`" 
     1142                PBI_DESC="`${PKG_CMD} rquery -U '%e' ${PBI_ORIGIN} | awk 1 ORS='<br>' | sed 's|*|-|g'`" 
    11431143        fi 
    11441144 
Note: See TracChangeset for help on using the changeset viewer.