git command not found in build script
karthikbalu opened this issue · 2 comments
karthikbalu commented
build script does not find installed git and displays not found
../build.sh: 5: ../build.sh: git: not found
karthikbalu commented
Also it cannot find any binary installed on the gitbucket server host
skx commented
What happens if you explicitly setup PATH
in your script?
ie.
#!/bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin
export PATH
...