~ubuntu-branches/ubuntu/vivid/hal-info/vivid

« back to all changes in this revision

Viewing changes to tools/keymap-check.sh

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2008-11-24 11:59:58 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20081124115958-8qbi628momuilff1
Tags: 20081124-0ubuntu1
* New upstream git snapshot.
  - Add ISCD no-name portable audio player (LP: #116860)
  - hal-info and rhythmbox conflict on audio_folders for PSP (LP: #178359)
  - Add Pantech UM175 phone (LP: #282573)
  - Add another Nokia N82 phone model (LP: #291749)
  - Add Nokia N82 music player (LP: #282957)
  - Add another Option 3G USB Modem (LP: #284961)
  - Add Sony Walkman NWZ-135F (LP: #289161)
  - Add Onda MT505UP / MF632 music player (LP: #291333)
  - Add Nokia E66 phone (LP: #294070)
  - Add Sierra Aircard 880U modem (LP: #295855)
  - Fix typo in 20-video-quirk-pm-asus.fdi (LP: #300620)
  - Add Novatel EU870D modem (LP: #301030)

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
        cat "$1" | sed -ne '/<!--/ { :c; /-->/! { N; b c; }; /-->/s/<!--.*-->//g }; /^  *$/!p;' | grep "input.keymap.data" | while read line
21
21
        do
22
22
                data=`echo "${line}" | cut -d":" -f2 | cut -d"<" -f1`
23
 
                found=`isin $data`
24
 
                if [ "$found" = "0" ]; then
25
 
                        echo "$data "
 
23
                if [ -n "${data}" ] ; then
 
24
                        found=`isin $data`
 
25
                        if [ "$found" = "0" ]; then
 
26
                                echo "$data "
 
27
                        fi
26
28
                fi
27
29
        done
28
30
}