Skip to content

Bringing some new changes from Feature/utility library (asu cidse 2025 fall)#51

Merged
Daniel-Lopez246 merged 2 commits into
GBSA-9477/fix-for-demofrom
Feature/Utility-Library-(ASU-CIDSE-2025-Fall)
Apr 9, 2026
Merged

Bringing some new changes from Feature/utility library (asu cidse 2025 fall)#51
Daniel-Lopez246 merged 2 commits into
GBSA-9477/fix-for-demofrom
Feature/Utility-Library-(ASU-CIDSE-2025-Fall)

Conversation

@Daniel-Lopez246

Copy link
Copy Markdown
Collaborator

No description provided.

@Daniel-Lopez246 Daniel-Lopez246 merged commit c24f58b into GBSA-9477/fix-for-demo Apr 9, 2026
2 checks passed

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request enhances the Cybercafe_orchestrator.sh script by introducing a UTIL_PATH variable to support Termux environments. It updates the preflight checks to verify the presence of make, sqlite3, and bash in both standard paths and the new UTIL_PATH. The run_build function is also modified to explicitly use make from UTIL_PATH, and a missing newline character is added at the end of the file. A review comment suggests improving consistency by using the UTIL_PATH variable instead of hardcoding the bash path in the shutdown instruction log message.


log "Cybercafe is running."
log "To stop: bash cybercafe_orchestrator.sh shutdown"
log "To stop: /data/data/com.termux/files/usr/bin/bash cybercafe_orchestrator.sh shutdown"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The path to bash is hardcoded in this log message. For better maintainability and consistency with the UTIL_PATH variable defined earlier, it would be preferable to use the variable here.

Suggested change
log "To stop: /data/data/com.termux/files/usr/bin/bash cybercafe_orchestrator.sh shutdown"
log "To stop: "$UTIL_PATH"/bash cybercafe_orchestrator.sh shutdown"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant