Skip to content

Commit

Permalink
fix: wrong positional argument and source folder
Browse files Browse the repository at this point in the history
  • Loading branch information
eeberhard committed Jul 28, 2024
1 parent 6a69590 commit 7ce9393
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rename_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if [[ "${#POSITIONAL_ARGS[@]}" -ne 1 ]]; then
fi

OLD_NAME=template_component_package
NEW_NAME="${POSITIONAL_ARGS[1]}"
NEW_NAME="${POSITIONAL_ARGS[0]}"

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"

Expand Down Expand Up @@ -108,7 +108,7 @@ replace_text_in_file "${SCRIPT_DIR}/.devcontainer.json"
replace_text_in_file "${SCRIPT_DIR}/aica-package.toml"

RENAME_DIRECTORIES=()
for FIND_PATH in $(find "${SCRIPT_DIR}/source2"); do
for FIND_PATH in $(find "${SCRIPT_DIR}/source"); do

BASENAME=$(basename $FIND_PATH)

Expand Down

0 comments on commit 7ce9393

Please sign in to comment.