From 8b5d53def1f81a32b2342590278cf9873193f723 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?coadde=20=5BM=C3=A1rcio=20Alexandre=20Silva=20Delgado=5D?= Date: Tue, 25 Aug 2015 23:26:47 -0300 Subject: fix more variables and arrays --- config_abslibre_gnu+hurd | 6 +++--- config_abslibre_gnu+linux | 6 +++--- config_abslibre_gnu+linux_arm | 6 +++--- config_gnu+hurd | 6 +++--- config_gnu+linux | 6 +++--- create-repo | 4 ++-- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/config_abslibre_gnu+hurd b/config_abslibre_gnu+hurd index 95ad53d..c40a207 100644 --- a/config_abslibre_gnu+hurd +++ b/config_abslibre_gnu+hurd @@ -29,11 +29,11 @@ EXTRA_REPOS=('nonprism' 'nonprism-testing' 'kernels' 'kernels-testing' 'cross' ' COMMUNITY_REPOS=('pcr' 'pcr-testing' 'pur' '~aurelien' '~brendan' '~coadde' '~drtan' '~emulatorman' '~jorginho' '~lukeshu' '~smv' '~xihh') # Platform Repositories -PATFORM_REPOS=() +PLATFORM_REPOS=() # Remote Repositories -PKG_REPOS=("${EXTRA_REPOS[@]}" "${PATFORM_REPOS[@]}" "${LIBRE_MAIN_REPOS[@]}" "${MAIN_REPOS[@]}" "${COMMUNITY_REPOS[@]}") -PKG_MULTILIB_REPOS=("${EXTRA_REPOS[@]}" "${PATFORM_REPOS[@]}" "${LIBRE_MAIN_REPOS[@]}" "${MAIN_REPOS[@]}" "${LIBRE_MULTILIB_REPOS[@]}" "${MULTILIB_REPOS[@]}" "${COMMUNITY_REPOS[@]}") +PKG_REPOS=("${EXTRA_REPOS[@]}" "${PLATFORM_REPOS[@]}" "${LIBRE_MAIN_REPOS[@]}" "${MAIN_REPOS[@]}" "${COMMUNITY_REPOS[@]}") +PKG_MULTILIB_REPOS=("${LIBRE_MULTILIB_REPOS[@]}" "${MULTILIB_REPOS[@]}") # Directories where packages are shared between repos # *relative to REPO_DIR* diff --git a/config_abslibre_gnu+linux b/config_abslibre_gnu+linux index 990fbee..ec6fa8b 100644 --- a/config_abslibre_gnu+linux +++ b/config_abslibre_gnu+linux @@ -29,11 +29,11 @@ EXTRA_REPOS=('nonprism' 'nonprism-testing' 'kernels' 'kernels-testing' 'cross' ' COMMUNITY_REPOS=('pcr' 'pcr-testing' 'pur' '~aurelien' '~brendan' '~coadde' '~drtan' '~emulatorman' '~jorginho' '~lukeshu' '~smv' '~xihh') # Platform Repositories -PATFORM_REPOS=('nonsystemd' 'nonsystemd-testing') +PLATFORM_REPOS=('nonsystemd' 'nonsystemd-testing') # Remote Repositories -PKG_REPOS=("${EXTRA_REPOS[@]}" "${PATFORM_REPOS[@]}" "${LIBRE_MAIN_REPOS[@]}" "${MAIN_REPOS[@]}" "${COMMUNITY_REPOS[@]}") -PKG_MULTILIB_REPOS=("${EXTRA_REPOS[@]}" "${PATFORM_REPOS[@]}" "${LIBRE_MAIN_REPOS[@]}" "${MAIN_REPOS[@]}" "${LIBRE_MULTILIB_REPOS[@]}" "${MULTILIB_REPOS[@]}" "${COMMUNITY_REPOS[@]}") +PKG_REPOS=("${EXTRA_REPOS[@]}" "${PLATFORM_REPOS[@]}" "${LIBRE_MAIN_REPOS[@]}" "${MAIN_REPOS[@]}" "${COMMUNITY_REPOS[@]}") +PKG_MULTILIB_REPOS=("${LIBRE_MULTILIB_REPOS[@]}" "${MULTILIB_REPOS[@]}") # Directories where packages are shared between repos # *relative to REPO_DIR* diff --git a/config_abslibre_gnu+linux_arm b/config_abslibre_gnu+linux_arm index cdd6fb1..4e35017 100644 --- a/config_abslibre_gnu+linux_arm +++ b/config_abslibre_gnu+linux_arm @@ -29,11 +29,11 @@ EXTRA_REPOS=('nonprism' 'nonprism-testing' 'kernels' 'kernels-testing' 'cross' ' COMMUNITY_REPOS=('pcr' 'pcr-testing' 'pur' '~aurelien' '~brendan' '~coadde' '~drtan' '~emulatorman' '~jorginho' '~lukeshu' '~smv' '~xihh') # Platform Repositories -PATFORM_REPOS=('nonsystemd' 'nonsystemd-testing') +PLATFORM_REPOS=('nonsystemd' 'nonsystemd-testing') # Remote Repositories -PKG_REPOS=("${EXTRA_REPOS[@]}" "${PATFORM_REPOS[@]}" "${LIBRE_MAIN_REPOS[@]}" "${MAIN_REPOS[@]}" "${COMMUNITY_REPOS[@]}") -PKG_MULTILIB_REPOS=("${EXTRA_REPOS[@]}" "${PATFORM_REPOS[@]}" "${LIBRE_MAIN_REPOS[@]}" "${MAIN_REPOS[@]}" "${LIBRE_MULTILIB_REPOS[@]}" "${MULTILIB_REPOS[@]}" "${COMMUNITY_REPOS[@]}") +PKG_REPOS=("${EXTRA_REPOS[@]}" "${PLATFORM_REPOS[@]}" "${LIBRE_MAIN_REPOS[@]}" "${MAIN_REPOS[@]}" "${COMMUNITY_REPOS[@]}") +PKG_MULTILIB_REPOS=("${LIBRE_MULTILIB_REPOS[@]}" "${MULTILIB_REPOS[@]}") # Directories where packages are shared between repos # *relative to REPO_DIR* diff --git a/config_gnu+hurd b/config_gnu+hurd index a8c39f1..eb33dc0 100644 --- a/config_gnu+hurd +++ b/config_gnu+hurd @@ -25,11 +25,11 @@ EXTRA_REPOS=('nonprism' 'nonprism-testing' 'kernels' 'kernels-testing' 'cross' ' COMMUNITY_REPOS=('pcr' 'pcr-testing' 'pur' '~aurelien' '~brendan' '~coadde' '~drtan' '~emulatorman' '~jorginho' '~lukeshu' '~smv' '~xihh') # Platform Repositories -PATFORM_REPOS=() +PLATFORM_REPOS=() # Remote Repositories -PKG_REPOS=("${EXTRA_REPOS[@]}" "${PATFORM_REPOS[@]}" "${MAIN_REPOS[@]}" "${COMMUNITY_REPOS[@]}") -PKG_MULTILIB_REPOS=("${EXTRA_REPOS[@]}" "${PATFORM_REPOS[@]}" "${MAIN_REPOS[@]}" "${MULTILIB_REPOS[@]}" "${COMMUNITY_REPOS[@]}") +PKG_REPOS=("${EXTRA_REPOS[@]}" "${PLATFORM_REPOS[@]}" "${MAIN_REPOS[@]}" "${COMMUNITY_REPOS[@]}") +PKG_MULTILIB_REPOS=("${MULTILIB_REPOS[@]}") # Directories where packages are shared between repos # *relative to REPO_DIR* diff --git a/config_gnu+linux b/config_gnu+linux index 84ff3ba..bfd421c 100644 --- a/config_gnu+linux +++ b/config_gnu+linux @@ -25,11 +25,11 @@ EXTRA_REPOS=('nonprism' 'nonprism-testing' 'kernels' 'kernels-testing' 'cross' ' COMMUNITY_REPOS=('pcr' 'pcr-testing' 'pur' '~aurelien' '~brendan' '~coadde' '~drtan' '~emulatorman' '~jorginho' '~lukeshu' '~smv' '~xihh') # Platform Repositories -PATFORM_REPOS=() +PLATFORM_REPOS=() # Remote Repositories -PKG_REPOS=("${EXTRA_REPOS[@]}" "${PATFORM_REPOS[@]}" "${MAIN_REPOS[@]}" "${COMMUNITY_REPOS[@]}") -PKG_MULTILIB_REPOS=("${EXTRA_REPOS[@]}" "${PATFORM_REPOS[@]}" "${MAIN_REPOS[@]}" "${MULTILIB_REPOS[@]}" "${COMMUNITY_REPOS[@]}") +PKG_REPOS=("${EXTRA_REPOS[@]}" "${PLATFORM_REPOS[@]}" "${MAIN_REPOS[@]}" "${COMMUNITY_REPOS[@]}") +PKG_MULTILIB_REPOS=("${MULTILIB_REPOS[@]}") # Directories where packages are shared between repos # *relative to REPO_DIR* diff --git a/create-repo b/create-repo index 1686894..c977442 100755 --- a/create-repo +++ b/create-repo @@ -21,9 +21,9 @@ for 'platform' in "${PLATFORMS[@]}"; do _repos=($@) && unset _repos[0] _repos[1] # Rename plataform name ($2) to easily script usage - _platform="${2/\//+}" _platform="${_platform,,}" + _platform_name="${2/\//+}" _platform_name="${_platform_name,,}" - if [ "${_platform}" == "${platform}" ]; then + if [ "${_platform_name}" == "${platform}" ]; then source "$(dirname "$(readlink -e "$0")")/config_${2}" msg "Creating repos... from ${PLATFORM_NAME} platform" -- cgit v1.2.3