summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-25 23:26:47 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-25 23:26:47 -0300
commit8b5d53def1f81a32b2342590278cf9873193f723 (patch)
tree145526cb662211ceb0f82246e3e5f7034bc12b2f
parent8acc8217fe7e52619393eaccbf9128521f2e3252 (diff)
fix more variables and arrays
-rw-r--r--config_abslibre_gnu+hurd6
-rw-r--r--config_abslibre_gnu+linux6
-rw-r--r--config_abslibre_gnu+linux_arm6
-rw-r--r--config_gnu+hurd6
-rw-r--r--config_gnu+linux6
-rwxr-xr-xcreate-repo4
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"