Skip to content

Commit

Permalink
Update licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
rdsubhas committed Nov 8, 2018
1 parent 4c5a9b7 commit add0b5c
Show file tree
Hide file tree
Showing 2 changed files with 5,362 additions and 5,307 deletions.
4 changes: 2 additions & 2 deletions bin/cross-compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ for dep in $deps; do
if [ -d "$GOPATH/src/$dep" ]; then
notices=$(ls -d $GOPATH/src/$dep/* 2>/dev/null | grep -i -e "license" -e "licence" -e "copying" -e "notice" || echo)
if [ ! -z "$notices" ]; then
echo -e "$dep\n\n" >> $out
echo -e "BEGIN LICENSE FOR $dep\n\n" >> $out
for notice in $notices; do
echo "Adding license: $notice"
cat $notice >> $out
done
echo -e "\n\n" >> $out
echo -e "\nEND LICENSE FOR $dep\n\n" >> $out
fi
fi
done
Expand Down
Loading

0 comments on commit add0b5c

Please sign in to comment.