summaryrefslogtreecommitdiff
path: root/trigger
diff options
context:
space:
mode:
authorLibravatar Mubashshir <ahmubashshir@gmail.com>2024-12-03 01:04:33 +0600
committerLibravatar Mubashshir <ahmubashshir@gmail.com>2024-12-03 01:05:10 +0600
commit7e2b61056ecd4e3ea9cf7f06363b1527fcf01436 (patch)
tree50548734604ff228e92fd9bf149225d3638bfe56 /trigger
parentbbc8c762441612add7150bff0695982708206a78 (diff)
downloadrepo-7e2b61056ecd4e3ea9cf7f06363b1527fcf01436.tar.gz
repo-7e2b61056ecd4e3ea9cf7f06363b1527fcf01436.zip
Commit 1
Diffstat (limited to 'trigger')
-rwxr-xr-xtrigger4
1 files changed, 2 insertions, 2 deletions
diff --git a/trigger b/trigger
index b285d7b..62336b6 100755
--- a/trigger
+++ b/trigger
@@ -1,5 +1,5 @@
-#!/bin/sh
-local -i a=$(cat id 2> /dev/null)
+#!/bin/bash
+declare -i a=$(cat id 2> /dev/null)
echo $((a++)) > id
git add id
git commit -m "Commit $a"