Skip to content

Commit 745966a

Browse files
authored
Update generate-index.sh
1 parent 497634b commit 745966a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

samples/generate-index.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44

55
echo ">>>Running generate-index.sh"
66

7-
# Define path based on platform.
7+
# Set up paths.
88
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
9-
PROJECT_ROOT=$(dirname "$SCRIPT_DIR") # Get the parent directory (js-api-samples)
9+
PROJECT_ROOT=$(dirname "$SCRIPT_DIR")
1010
DIST_DIR="$PROJECT_ROOT/dist"
1111

12-
echo "Project root ${PROJECT_ROOT}"
12+
echo "SCRIPT_DIR: ${SCRIPT_DIR}"
13+
echo "PROJECT_ROOT: ${PROJECT_ROOT}"
1314

1415
# Create the output file.
1516
OUTPUT_FILE="index.html"

0 commit comments

Comments
 (0)