Changeset 9991299


Ignore:
Timestamp:
Feb 7, 2014 8:30:05 AM (2 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0.1
Children:
384eafd
Parents:
5e4b426
Message:

Fix a bug when linking in man-pages into system dir, make sure target still exists at
install time, in case the pbi.conf file strips them out

File:
1 edited

Legend:

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

    r0e9e965 r9991299  
    39063906                                        _dTar="\$PBI_MANDIR/${_mTar}" 
    39073907                                        echo "_bd=\"\`dirname ${_dTar}\`\"" >> "${dir}/${PBI_INS_PATHSCRIPT}" 
    3908                                         echo "if [ ! -d \"\$_bd\" ] ; then mkdir -p \"\${_bd}\"; fi" >> "${dir}/${PBI_INS_PATHSCRIPT}" 
    3909                                         echo "ln ${_lop} $PBI_PROGDIRPATH/local/${src} \$PBI_MANDIR/${_mTar}" >> "${dir}/${PBI_INS_PATHSCRIPT}" 
     3908                                        echo "if [ ! -d \"\$_bd\" ]; then mkdir -p \"\${_bd}\"; fi" >> "${dir}/${PBI_INS_PATHSCRIPT}" 
     3909                                        echo "if [ -e \"\$PBI_PROGDIRPATH/local/$src\" ]; then" >> "${dir}/${PBI_INS_PATHSCRIPT}" 
     3910                                        echo "  ln ${_lop} $PBI_PROGDIRPATH/local/${src} \$PBI_MANDIR/${_mTar}" >> "${dir}/${PBI_INS_PATHSCRIPT}" 
     3911                                        echo "fi" >> "${dir}/${PBI_INS_PATHSCRIPT}" 
    39103912                                else 
    39113913                                        _dTar="\$SYS_LOCALBASE/${tar}" 
Note: See TracChangeset for help on using the changeset viewer.