mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 18:11:35 +00:00
work around more license formatting issues
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
957746875d
commit
8c415a0b2f
1
licensing/.dockerignore
Normal file
1
licensing/.dockerignore
Normal file
@ -0,0 +1 @@
|
||||
output/
|
@ -34,21 +34,24 @@ do
|
||||
if [ ! -d "$srcdir"/$pkgname-$pkgver ]
|
||||
then
|
||||
mkdir -p "$srcdir"/$pkgname-$pkgver
|
||||
while read f
|
||||
while read ff
|
||||
do
|
||||
if [ -n "$(echo $f | tr -d '[[:space:]]')" ]
|
||||
then
|
||||
f=$(echo $f | sed 's/^.*:://')
|
||||
printf "looking for source for: $f\n"
|
||||
if [ -f "$f" ]
|
||||
then
|
||||
cp -a $f "$srcdir"/$pkgname-$pkgver/
|
||||
else
|
||||
cd "$srcdir"/$pkgname-$pkgver && \
|
||||
wget $f || fail "Cannot retrieve $f" && \
|
||||
cd -
|
||||
fi
|
||||
fi
|
||||
for f in $ff
|
||||
do
|
||||
if [ -n "$(echo $f | tr -d '[[:space:]]')" ]
|
||||
then
|
||||
f=$(echo $f | sed 's/^.*:://')
|
||||
printf "looking for source for: $f\n"
|
||||
if [ -f "$f" ]
|
||||
then
|
||||
cp -a $f "$srcdir"/$pkgname-$pkgver/
|
||||
else
|
||||
cd "$srcdir"/$pkgname-$pkgver && \
|
||||
wget $f || fail "Cannot retrieve $f" && \
|
||||
cd -
|
||||
fi
|
||||
fi
|
||||
done
|
||||
done <<< "$source"
|
||||
fi
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user