Skip to content

Commit

Permalink
fix: use absolute path in local-run script to get air-gap samples
Browse files Browse the repository at this point in the history
Signed-off-by: Valeriy Svydenko <vsvydenk@redhat.com>
  • Loading branch information
svor committed Jan 22, 2025
1 parent c8062f1 commit 40f8278
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run/local-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ if [ ! -d $DASHBOARD_FRONTEND/lib/public/dashboard/devfile-registry ]; then

echo "[INFO] Downloading airgap projects"
. "${SCRIPT_DIR}/../scripts/airgap.sh" \
-o "$DASHBOARD_FRONTEND/lib/public/dashboard/devfile-registry/air-gap" \
-i "packages/devfile-registry/air-gap/index.json"
-o "$(pwd)/$DASHBOARD_FRONTEND/lib/public/dashboard/devfile-registry/air-gap" \
-i "$(pwd)/packages/devfile-registry/air-gap/index.json"

if [ -s "$DASHBOARD_FRONTEND/lib/public/dashboard/devfile-registry/air-gap/index.json" ]; then
$(pwd)/scripts/sed_in_place.sh 's|CHE_DASHBOARD_INTERNAL_URL|http://localhost:8080|g' "$DASHBOARD_FRONTEND/lib/public/dashboard/devfile-registry/air-gap/index.json"
Expand Down

0 comments on commit 40f8278

Please sign in to comment.