summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2015-12-03 14:43:24 +0100
committerroot2015-12-03 14:43:24 +0100
commit7fdbfa9961fef9e6497b8632437f687dcdab49ec (patch)
tree9fce265e9f90a9c852cfa30c798c6114c8124dea
parentMerge branch 'master' of git://git.openslx.org/openslx-ng/tm-scripts (diff)
downloadtm-scripts-7fdbfa9961fef9e6497b8632437f687dcdab49ec.tar.gz
tm-scripts-7fdbfa9961fef9e6497b8632437f687dcdab49ec.tar.xz
tm-scripts-7fdbfa9961fef9e6497b8632437f687dcdab49ec.zip
[vmware] Handle build when sources are already fetched
-rw-r--r--remote/modules/vmware/module.build1
1 files changed, 1 insertions, 0 deletions
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 '-')