Allow more image types 80/9680/1
authorbeierlm <mark.beierl@canonical.com>
Thu, 3 Sep 2020 18:02:30 +0000 (14:02 -0400)
committerbeierlm <mark.beierl@canonical.com>
Thu, 3 Sep 2020 18:02:30 +0000 (14:02 -0400)
Removes need for license from .tiff and .svg files.

Fixes bug 1202

Change-Id: Iff9dab4acab33328e161dab86be766021da2bb38
Signed-off-by: beierlm <mark.beierl@canonical.com>
tools/license_scan.sh

index 5af31df..dfcda7e 100755 (executable)
@@ -29,7 +29,7 @@ dpkg -l curl &>/dev/null ||sudo apt-get install -y curl
 apache=0
 nolicense=0
 other=0
-exception_list="':(exclude)*.pdf' ':(exclude)*.png' ':(exclude)*.jpeg' ':(exclude)*.jpg' ':(exclude)*.gif' ':(exclude)*.json' ':(exclude)*.ico'"
+exception_list="':(exclude)*.pdf' ':(exclude)*.png' ':(exclude)*.jpeg' ':(exclude)*.jpg' ':(exclude)*.gif' ':(exclude)*.json' ':(exclude)*.ico' ':(exclude)*.svg' ':(exclude)*.tiff'"
 git fetch
 
 RE="FATAL: your file did not get passed through"