Changeset 3864


Ignore:
Timestamp:
Oct 16, 2018 1:06:15 PM (11 months ago)
Author:
stefan
Message:

skip commented lines in Dependencies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/get.dependencies.sh

    r3717 r3864  
    243243    # Build list of sources for dependencies
    244244    if [ -e Dependencies ]; then
    245         deps=`cat Dependencies | tr '\t' ' ' | tr -s ' '| cut -d ' ' -f 2-`
     245        deps=`cat Dependencies | sed -e '/^#/d' | tr '\t' ' ' | tr -s ' '| cut -d ' ' -f 2-`
    246246    elif [ -e $main_proj/Dependencies ]; then
    247         deps=`cat $main_proj/Dependencies | tr '\t' ' ' | tr -s ' '| cut -d ' ' -f 2-`
     247        deps=`cat $main_proj/Dependencies | sed -e '/^#/d' | tr '\t' ' ' | tr -s ' '| cut -d ' ' -f 2-`
    248248    else
    249249        echo "Can't find dependencies file...exiting"
Note: See TracChangeset for help on using the changeset viewer.