diff options
| author | Simon Rettberg | 2015-12-03 14:43:24 +0100 |
|---|---|---|
| committer | root | 2015-12-03 14:43:24 +0100 |
| commit | 7fdbfa9961fef9e6497b8632437f687dcdab49ec (patch) | |
| tree | 9fce265e9f90a9c852cfa30c798c6114c8124dea | |
| parent | Merge branch 'master' of git://git.openslx.org/openslx-ng/tm-scripts (diff) | |
| download | tm-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.build | 1 |
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 '-') |
