mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 11:00:25 +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 ]
|
if [ ! -d "$srcdir"/$pkgname-$pkgver ]
|
||||||
then
|
then
|
||||||
mkdir -p "$srcdir"/$pkgname-$pkgver
|
mkdir -p "$srcdir"/$pkgname-$pkgver
|
||||||
while read f
|
while read ff
|
||||||
do
|
do
|
||||||
if [ -n "$(echo $f | tr -d '[[:space:]]')" ]
|
for f in $ff
|
||||||
then
|
do
|
||||||
f=$(echo $f | sed 's/^.*:://')
|
if [ -n "$(echo $f | tr -d '[[:space:]]')" ]
|
||||||
printf "looking for source for: $f\n"
|
then
|
||||||
if [ -f "$f" ]
|
f=$(echo $f | sed 's/^.*:://')
|
||||||
then
|
printf "looking for source for: $f\n"
|
||||||
cp -a $f "$srcdir"/$pkgname-$pkgver/
|
if [ -f "$f" ]
|
||||||
else
|
then
|
||||||
cd "$srcdir"/$pkgname-$pkgver && \
|
cp -a $f "$srcdir"/$pkgname-$pkgver/
|
||||||
wget $f || fail "Cannot retrieve $f" && \
|
else
|
||||||
cd -
|
cd "$srcdir"/$pkgname-$pkgver && \
|
||||||
fi
|
wget $f || fail "Cannot retrieve $f" && \
|
||||||
fi
|
cd -
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
done <<< "$source"
|
done <<< "$source"
|
||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user