work around more license formatting issues

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-04-05 14:16:13 +01:00
parent 957746875d
commit 8c415a0b2f
2 changed files with 18 additions and 14 deletions

1
licensing/.dockerignore Normal file
View File

@ -0,0 +1 @@
output/

View File

@ -34,7 +34,9 @@ do
if [ ! -d "$srcdir"/$pkgname-$pkgver ] if [ ! -d "$srcdir"/$pkgname-$pkgver ]
then then
mkdir -p "$srcdir"/$pkgname-$pkgver mkdir -p "$srcdir"/$pkgname-$pkgver
while read f while read ff
do
for f in $ff
do do
if [ -n "$(echo $f | tr -d '[[:space:]]')" ] if [ -n "$(echo $f | tr -d '[[:space:]]')" ]
then then
@ -49,6 +51,7 @@ do
cd - cd -
fi fi
fi fi
done
done <<< "$source" done <<< "$source"
fi fi
) )