| File gt-do changed (mode: 100755) (index fe2780d..7ebc92b) |
| 13 |
13 |
# See the License for the specific language governing permissions and |
# See the License for the specific language governing permissions and |
| 14 |
14 |
# limitations under the License. |
# limitations under the License. |
| 15 |
15 |
|
|
|
16 |
|
# This file last updated: 12 July, 2020 |
|
17 |
|
|
| 16 |
18 |
# The script dispatches repository-specific commands that are stored under |
# The script dispatches repository-specific commands that are stored under |
| 17 |
19 |
# `.git/actions`. |
# `.git/actions`. |
| 18 |
20 |
# |
# |
| |
| ... |
... |
if [ -d "$actions_dir" ]; then |
| 50 |
52 |
actions=$(find "$actions_dir" -executable \ |
actions=$(find "$actions_dir" -executable \ |
| 51 |
53 |
-xtype f \ |
-xtype f \ |
| 52 |
54 |
-maxdepth 1 \ |
-maxdepth 1 \ |
| 53 |
|
-exec basename {} \;) |
|
|
55 |
|
-exec basename {} \; | sort) |
| 54 |
56 |
fi |
fi |
| 55 |
57 |
|
|
| 56 |
58 |
if [ $# -eq 0 ]; then |
if [ $# -eq 0 ]; then |