Fix paths for archive building
@@ -36,8 +36,8 @@ function package_archive {
# tremor-script lib
# TREMOR_PATH needs to be set to wherever this folder gets extracted to
mkdir -p "${temp_archive_dir}/lib/tremor"
- cp -vR "${ROOT_DIR}/tremor-script/lib/" "${temp_archive_dir}/lib/tremor/tremor-script/"
- cp -vR "${ROOT_DIR}/packaging/distribution/usr/lib/tremor/tremor.sh" "${temp_archive_dir}/lib/tremor/tremor.sh"
+ cp -vR "${ROOT_DIR}/tremor-script/lib/" "${temp_archive_dir}/share/tremor/lib/"
+ cp -vR "${ROOT_DIR}/packaging/distribution/usr/share/tremor/tremor.sh" "${temp_archive_dir}/share/tremor/tremor.sh"
echo "Creating archive file: ${archive_file}"
tar czf $archive_file -C "$TARGET_BUILD_DIR" "$archive_name"
