Skip to content

Commit 8551e30

Browse files
jservyy214123
authored andcommitted
Utilize common script when possible
To consolidate the bash scripts, the commonly used functions were moved to the common script and all bash scripts should do 'source' before performing. Change-Id: Ic9a72b9a8d6fd4cd74b4e81a31d312a085a8426b
1 parent da25fce commit 8551e30

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

scripts/checksums

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
bff0704601c8197ae6b847647b4167664b7d6abc queue.h
22
b26e079496803ebe318174bda5850d2cce1fd0c1 list.h
3-
1029c2784b4cae3909190c64f53a06cba12ea38e scripts/check-commitlog.sh
3+
1029c2784b4cae3909190c64f53a06cba12ea38e scripts/check-commitlog.sh

scripts/install-git-hooks

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ fi
5252
((CURRENT_STEP++))
5353
progress "$CURRENT_STEP" "$TOTAL_STEPS"
5454

55+
# 3. Ensure this repository is frok from sysprog21/lab0-c'.
56+
((CURRENT_STEP++))
57+
progress "$CURRENT_STEP" "$TOTAL_STEPS"
58+
5559
if [[ "${ACCOUNT}" != "sysprog21" ]]; then
5660
RESPONSE=$(${CURL} -s -H "Accept: application/vnd.github.v3+json" \
5761
"https://api.github.com/repos/${ACCOUNT}/lab0-c")

0 commit comments

Comments
 (0)