Merge 4afd5c48f1ff44c12c2865671a8d53fb178cec33 into 5f6e3da766ef6ffcefca8d5ced3df4b2fcdd7a62

This commit is contained in:
Shane 2017-10-09 07:48:10 +00:00 committed by GitHub
commit 4c8c793f1d

View File

@ -4885,8 +4885,9 @@ install() {
fi
cp "$PROJECT_ENTRY" "$LE_WORKING_DIR/" && chmod +x "$LE_WORKING_DIR/$PROJECT_ENTRY"
_status=`echo $?`
if [ "$?" != "0" ]; then
if [ "$_status" != "0" ]; then
_err "Install failed, can not copy $PROJECT_ENTRY"
return 1
fi