Skip to content

RATIS-1799. Make shell scripts in binary package executable#835

Merged
szetszwo merged 1 commit intoapache:masterfrom
kaijchen:bin-pkg
Mar 1, 2023
Merged

RATIS-1799. Make shell scripts in binary package executable#835
szetszwo merged 1 commit intoapache:masterfrom
kaijchen:bin-pkg

Conversation

@kaijchen
Copy link
Member

@kaijchen kaijchen commented Mar 1, 2023

@kaijchen
Copy link
Member Author

kaijchen commented Mar 1, 2023

Cc @szetszwo @codings-dan PTAL.

@kaijchen
Copy link
Member Author

kaijchen commented Mar 1, 2023

Hi @adoroszlai, I think it's nice to have this PR included in the next release (2.4.2 or 2.5.0).

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

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

Thanks @kaijchen for the patch, LGTM.

Before:

-rw-r--r-- root/root      2152 2020-01-22 16:10 apache-ratis-3.0.0-SNAPSHOT-bin/bin/ratis
-rw-r--r-- root/root      1150 2020-01-22 16:10 apache-ratis-3.0.0-SNAPSHOT-bin/examples/bin/client.sh
-rw-r--r-- root/root      1871 2020-01-22 16:10 apache-ratis-3.0.0-SNAPSHOT-bin/examples/bin/common.sh
-rw-r--r-- root/root       933 2020-01-22 16:10 apache-ratis-3.0.0-SNAPSHOT-bin/examples/bin/server.sh
-rw-r--r-- root/root      1610 2020-01-22 16:10 apache-ratis-3.0.0-SNAPSHOT-bin/examples/bin/start-all.sh
-rw-r--r-- root/root       922 2020-01-22 16:10 apache-ratis-3.0.0-SNAPSHOT-bin/examples/bin/stop-all.sh
-rw-r--r-- root/root      3626 2020-01-22 16:10 apache-ratis-3.0.0-SNAPSHOT-bin/libexec/ratis-shell-config.sh

After:

-rwxr-xr-x root/root      2152 2020-01-22 16:10 apache-ratis-3.0.0-SNAPSHOT-bin/bin/ratis
-rwxr-xr-x root/root      1150 2020-01-22 16:10 apache-ratis-3.0.0-SNAPSHOT-bin/examples/bin/client.sh
-rwxr-xr-x root/root      1871 2020-01-22 16:10 apache-ratis-3.0.0-SNAPSHOT-bin/examples/bin/common.sh
-rwxr-xr-x root/root       933 2020-01-22 16:10 apache-ratis-3.0.0-SNAPSHOT-bin/examples/bin/server.sh
-rwxr-xr-x root/root      1610 2020-01-22 16:10 apache-ratis-3.0.0-SNAPSHOT-bin/examples/bin/start-all.sh
-rwxr-xr-x root/root       922 2020-01-22 16:10 apache-ratis-3.0.0-SNAPSHOT-bin/examples/bin/stop-all.sh
-rwxr-xr-x root/root      3626 2020-01-22 16:10 apache-ratis-3.0.0-SNAPSHOT-bin/libexec/ratis-shell-config.sh

Copy link
Contributor

@szetszwo szetszwo left a comment

Choose a reason for hiding this comment

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

+1 the change looks good. Thanks for fixing this mysterious problem!

@szetszwo szetszwo merged commit 212690e into apache:master Mar 1, 2023
@szetszwo
Copy link
Contributor

szetszwo commented Mar 1, 2023

@adoroszlai , thanks a lot for reviewing and testing this!

@kaijchen kaijchen deleted the bin-pkg branch March 2, 2023 03:15
szetszwo pushed a commit that referenced this pull request Mar 5, 2023
kuszz pushed a commit to kuszz/ratis that referenced this pull request Mar 7, 2023
symious pushed a commit to symious/ratis that referenced this pull request Mar 16, 2024
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.

3 participants