Skip to content

Conversation

@tisonkun
Copy link
Member

@tisonkun tisonkun commented Nov 5, 2025

This follows #60

THIS_DIR=$(/bin/dirname "`realpath $0`")
PARENT_DIR=$(/bin/dirname "$THIS_DIR")
THIS_DIR=$(dirname "`realpath $0`")
PARENT_DIR=$(dirname "$THIS_DIR")
Copy link
Member Author

Choose a reason for hiding this comment

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

On macOS, dirname locates at /usr/bin/dirname. Use dirname for compatibility.

@@ -1,4 +1,5 @@
#!/bin/bash
#!/usr/bin/env bash
Copy link
Member Author

Choose a reason for hiding this comment

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

Use the same flavor like Python scripts to resolve commands.

Copy link
Member Author

Choose a reason for hiding this comment

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

Rename file to keep using kebab-style.

Copy link
Member

Choose a reason for hiding this comment

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

I imagined another script importing this to do more sophisticated loading of fake data. ... but we can cross that bridge if that ever happens.

@gstein gstein merged commit 00c0765 into apache:trunk Nov 5, 2025
2 checks passed
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.

2 participants