Skip to content

Commit

Permalink
remove all shifts
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Feb 9, 2024
1 parent 8213d0b commit aeb1688
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions bin/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@ download_wp() {
case $i in
--version=*)
WP_VERSION="${i#*=}"
shift
;;
--tmpdir=*)
TMPDIR="${i#*=}"
shift
;;
*)
# unknown option
Expand Down Expand Up @@ -57,27 +55,21 @@ setup_wp() {
case $i in
--dbname=*)
DB_NAME="${i#*=}"
shift
;;
--dbuser=*)
DB_USER="${i#*=}"
shift
;;
--dbpass=*)
DB_PASS="${i#*=}"
shift
;;
--dbhost=*)
DB_HOST="${i#*=}"
shift
;;
--version=*)
WP_VERSION="${i#*=}"
shift
;;
--tmpdir=*)
TMPDIR="${i#*=}"
shift
;;
*)
# unknown option
Expand All @@ -100,7 +92,6 @@ setup_wp_nightly() {
case $i in
--wpdir=*)
WP_DIR="${i#*=}"
shift
;;
*)
# unknown option
Expand All @@ -124,11 +115,9 @@ get_wp_version_num() {
case $i in
--version=*)
WP_VERSION="${i#*=}"
shift
;;
--tmpdir=*)
TMPDIR="${i#*=}"
shift
;;
*)
# unknown option
Expand Down

0 comments on commit aeb1688

Please sign in to comment.