Skip to content

Commit d80e771

Browse files
committed
build.sh: Invoke sh as a login shell
This fixes #390 build.sh depends on the `go` executable. This executable may not be in the user's path when /bin/sh is invoked as a non-login shell (a non-login shell does not execute the various "profile" scripts). Since we don't package `go` as part of the newt distribution, we should not assume it is available to the build script in a non-login shell.
1 parent d254d7c commit d80e771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/sh -l
22
# Licensed to the Apache Software Foundation (ASF) under one
33
# or more contributor license agreements. See the NOTICE file
44
# distributed with this work for additional information

0 commit comments

Comments
 (0)