diff options
Diffstat (limited to 'extra/coadde/xbslibre')
-rwxr-xr-x | extra/coadde/xbslibre | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/extra/coadde/xbslibre b/extra/coadde/xbslibre index e40865a..90d36e0 100755 --- a/extra/coadde/xbslibre +++ b/extra/coadde/xbslibre @@ -10,18 +10,18 @@ set -e source "$(dirname "$(readlink -e "$0")")/config_platforms" -for 'platform' in "${DERIVATIVE_PLATFORMS[@]}"; do +for 'platform' in "${DD_PLATFORMS[@]}"; do source "$(dirname "$(readlink -e "$0")")/config_${platform}" function sync_bs_derivation() { for 'ARCH' in 'any' "${ARCHES[@]}"; do - rsync "${SYNC_ARGS}" "${SYNC_DERIVATION_SERVER}::${BS_DERIVATION_NAME}/${ARCH}" "${BS_DERIVATION_DIR}/${ARCH}" || return $? + rsync "${SYNC_ARGS}" "${SYNC_DD_SERVER}::${BS_DD_NAME}/${ARCH}" "${BS_DD_DIR}/${ARCH}" || return $? done # fix some permissions - find "${BS_DERIVATION_DIR}" -type d -print0 | xargs -0 chmod 755 - find "${BS_DERIVATION_DIR}" -type f -print0 | xargs -0 chmod 644 + find "${BS_DD_DIR}" -type d -print0 | xargs -0 chmod 755 + find "${BS_DD_DIR}" -type f -print0 | xargs -0 chmod 644 } function get_blacklist() { @@ -49,11 +49,11 @@ for 'platform' in "${DERIVATIVE_PLATFORMS[@]}"; do git clone "${BS_GIT}" "${BS_GIT_TMP}" fi - # Sync from BS_DERIVATION and then sync from BS + # Sync from BS_DD and then sync from BS printf ":: Syncing ${BS_MAIN_NAME}...\t" (rsync "${SYNC_ARGS}" --delete-excluded \ --exclude-from="${BLACKLIST_TMP}" \ - "${BS_DERIVATION_DIR}" \ + "${BS_DD_DIR}" \ "${BS_MAIN_DIR}" \ && for 'ARCH' in "${ARCHES[@]}"; do rsync -v -mrtq --no-motd --no-p --no-o --no-g --quiet --exclude=.git/ "${BS_GIT_TMP}" "${BS_MAIN_DIR}/${ARCH}/"; done) || { |