Skip to content

Commit

Permalink
STAC-21039: Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
craffit committed May 3, 2024
1 parent 832e66d commit f633393
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fix_package_paths.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

DIR=${1:-CI_PROJECT_DIR}
DIR=${1:-$CI_PROJECT_DIR}

# This line is used to fix the package import paths in golang files in the agent codebase.
find "$DIR" -type d -name .git -prune -o -type f -name "*.go" -exec sed -i 's/DataDog\/datadog-agent/StackVista\/stackstate-agent/g' {} +
Expand Down
2 changes: 1 addition & 1 deletion revert_package_paths.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

DIR=${1:-CI_PROJECT_DIR}
DIR=${1:-$CI_PROJECT_DIR}

# This line is used to fix the package import paths in golang files in the agent codebase.
find "$DIR" -type d -name .git -prune -o -type f -name "*.go" -exec sed -i 's/StackVista\/stackstate-agent/DataDog\/datadog-agent/g' {} +
Expand Down

0 comments on commit f633393

Please sign in to comment.