Changeset 764568e in freewrt


Ignore:
Timestamp:
Dec 18, 2006, 8:09:43 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Children:
1938af8
Parents:
1888787
Message:

while here, we can _easily_ check if someone uses the same
Config.in option twice (coding error - consistency check)
doesn't hurt IMHO

git-svn-id: svn://www.freewrt.org/branches/common-adk@1317 afb5a338-a214-0410-bd46-81f09a774fd1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/split-cfg.sh

    r1888787 r764568e  
    4444                fi
    4545                [[ $oline = $fline ]] || echo "$oline" >$line
     46                if [[ $newfiles = *:$line:* ]]; then
     47                        echo "Error: duplicate Config.in option '$line'!" >&2
     48                        exit 1
     49                fi
    4650                newfiles="$newfiles$line:"
    4751        fi
Note: See TracChangeset for help on using the changeset viewer.