shellcheck fix part 1

This commit is contained in:
Louis Abel 2021-07-06 12:24:29 -07:00
parent d3e830c736
commit 3b06b9d0d6
Signed by: label
GPG Key ID: 6735C0E1BD65D048
5 changed files with 13 additions and 4 deletions

View File

@ -0,0 +1,9 @@
#!/bin/bash
# Performs a full on sync of a minor release, directories and all. It calls the
# other scripts in this directory to assist.
# Source common variables
source "./common"
# sync all pieces of a release, including extras, nfv, etc
# move around the ISOs a bit, make things comfortable

View File

@ -12,7 +12,7 @@
# Compose dir example: /mnt/repos-staging/mirror/pub/rocky/8.4-RC2 # Compose dir example: /mnt/repos-staging/mirror/pub/rocky/8.4-RC2
# Source common variables # Source common variables
source $(dirname "$0")/common source "./common"
echo "** Updating source repos" echo "** Updating source repos"
for y in "${ALL_REPOS[@]}"; do for y in "${ALL_REPOS[@]}"; do

View File

@ -2,7 +2,7 @@
# Syncs everything from staging to production # Syncs everything from staging to production
# Source common variables # Source common variables
source $(dirname "$0")/common source "./common"
REV=${1} REV=${1}

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# Source common variables # Source common variables
source $(dirname "$0")/common source "./common"
# Major Version (eg, 8) # Major Version (eg, 8)
MAJ=${1} MAJ=${1}

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# Source common variables # Source common variables
source $(dirname "$0")/common source "./common"
# Major Version (eg, 8) # Major Version (eg, 8)
MAJ=${1} MAJ=${1}