diff --git a/vendorsetup.sh b/vendorsetup.sh index 7fdb846..7c2ea14 100644 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -1,2 +1,5 @@ -# Run device patches on the tree. I'm lazy and this is easy for nightly builds. -sh device/huawei/u8815/patches/apply.sh +if [ ! -z "$JENKINS_HOME" ] +then + # If we're Jenkins, run device patches on the tree. I'm lazy and this is easy for nightly builds. + sh device/huawei/u8815/patches/apply.sh +fi