Commit 392c5dc6 authored by Tim Hockin's avatar Tim Hockin

Update license for go4.org

Add it as a special case package root and import the license file. This was the only UNKNOWN license, prior to the change to not look at upstream repo state.
parent 4c316979
...@@ -70,10 +70,13 @@ process_content () { ...@@ -70,10 +70,13 @@ process_content () {
# Start search at package root # Start search at package root
case ${package} in case ${package} in
github.com/*|golang.org/*|bitbucket.org/*) github.com/*|golang.org/*|bitbucket.org/*)
package_root=$(echo ${package} |awk -F/ '{print $1"/"$2"/"$3 }') package_root=$(echo ${package} |awk -F/ '{ print $1"/"$2"/"$3 }')
;;
go4.org/*)
package_root=$(echo ${package} |awk -F/ '{ print $1 }')
;; ;;
*) *)
package_root=$(echo ${package} |awk -F/ '{print $1"/"$2 }') package_root=$(echo ${package} |awk -F/ '{ print $1"/"$2 }')
;; ;;
esac esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment