File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2- # This script was generated by bashly 1.0.2 (https://bashly.dannyb.co)
2+ # This script was generated by bashly 1.0.4 (https://bashly.dannyb.co)
33# Modifying it manually is not recommended
44
55# :wrapper.bash3_bouncer
@@ -1463,7 +1463,7 @@ rush_push_command() {
14631463 set -e
14641464 cd " $repo_path "
14651465 git add . --all
1466- find . -type f \( -name main -o -name undo \) -exec git update-index --chmod +x {} \;
1466+ git ls-files | grep -E " undo| main" | xargs -I {} git update-index --chmod +x {}
14671467 git commit -am " $message "
14681468 git push
14691469 )
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ push_repo() {
1313 set -e
1414 cd " $repo_path "
1515 git add . --all
16- find . -type f \( -name main -o -name undo \) -exec git update-index --chmod +x {} \;
16+ git ls-files | grep -E " undo| main" | xargs -I {} git update-index --chmod +x {}
1717 git commit -am " $message "
1818 git push
1919 )
You can’t perform that action at this time.
0 commit comments