Package Git Repos Exporter - mdibl/package_downloads GitHub Wiki

This script is called by the package manager script (runGetPackage.sh) to export a given package from Github using wget utilities.

Assumption: all the expected environment variables have been sourced by the caller.

  1. GLOBAL_CONFIG
  2. PACKAGE_CONFIG_FILE

What it does:

  1. Set path to git tag
  2. wget repos tag
  3. Create local directory for the new tag
  4. Untar new tag tar
  5. Remove the downloaded tar file