From 7fdbfa9961fef9e6497b8632437f687dcdab49ec Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 3 Dec 2015 14:43:24 +0100 Subject: [vmware] Handle build when sources are already fetched --- remote/modules/vmware/module.build | 1 + 1 file changed, 1 insertion(+) (limited to 'remote') diff --git a/remote/modules/vmware/module.build b/remote/modules/vmware/module.build index 878e1b59..3a24ac60 100644 --- a/remote/modules/vmware/module.build +++ b/remote/modules/vmware/module.build @@ -21,6 +21,7 @@ fetch_source() { } build() { + [ -z "$VMWARE_BUNDLE_FILE" ] && VMWARE_BUNDLE_FILE=$(basename "$(find "${MODULE_DIR}/src" -iname "vmware-*" | head -n 1)") local DELETE_FILES=$(for LINE in $REQUIRED_VMWARE_DELETIONS;do echo "rm -rf -- $LINE"; done) local OFFICIAL_VERSION=$(echo "$VMWARE_BUNDLE_FILE" | cut -f 3 -d '-') -- cgit v1.2.3-55-g7522