Skip to content

Commit 314da25

Browse files
author
Jonathan S. Katz
committed
Update defaults for running aggregator script
If $GOPATH is unset, this will default to using the standard module GOPATH.
1 parent 31f7412 commit 314da25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/license_aggregator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# limitations under the License.
1515

1616
# Inputs / outputs
17-
SCAN_DIR=${GOPATH}/pkg/mod
17+
SCAN_DIR=${GOPATH:-~/go}/pkg/mod
1818
OUT_DIR=licenses
1919

2020
# Fail on error

0 commit comments

Comments
 (0)