Changeset 629cb4ce


Ignore:
Timestamp:
02/05/14 12:10:02 (7 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0.1, releng/10.0.2
Children:
4f9718b
Parents:
42d16db (diff), 4c008ce (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge pull request #21 from rbgarga/check_file_exist

Make sure file exist before try to grep, it silents 'file not found' messages

File:
1 edited

Legend:

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

    r3eb788d r4c008ce  
    70537053                        continue 
    70547054                fi 
     7055                touch ${PBI_STAGEDIRMNT}/${PBI_INS_GROUPSFILE} 
    70557056                grep -q "^$group:" ${PBI_STAGEDIRMNT}/${PBI_INS_GROUPSFILE} 
    70567057                if [ $? -ne 0 ] ; then 
     
    70747075                        continue 
    70757076                fi 
     7077                touch ${PBI_STAGEDIRMNT}/${PBI_INS_USERSFILE} 
    70767078                grep -q "^$user:" ${PBI_STAGEDIRMNT}/${PBI_INS_USERSFILE} 
    70777079                if [ $? -ne 0 ] ; then 
Note: See TracChangeset for help on using the changeset viewer.