Merge pull request #610 from michal-hanu-la/master

Fix gencode-remote for __package_pkgng_freebsd
This commit is contained in:
Darko Poljak 2018-01-03 21:03:24 +01:00 committed by GitHub
commit 8e182844e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,7 @@ execcmd(){
;;
esac
echo "$_cmd 2>&- >&-" # Silence the output of the command
echo "$_cmd >/dev/null 2>&1" # Silence the output of the command
echo "status=\$?"
echo "if [ \"\$status\" -ne \"0\" ]; then"
echo " echo \"Error: ${_cmd} exited nonzero with \$status\"'!' >&2"