File tree Expand file tree Collapse file tree 4 files changed +3
-9
lines changed
Expand file tree Collapse file tree 4 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ find_latest_squash()
1818 sub=
1919 git log --grep=" ^git-subtree-dir: $dir /*\$ " \
2020 --pretty=format:' START %H%n%s%n%n%b%nEND%n' " $COMMIT " |
21- while read a b junk ; do
21+ while read a b _ ; do
2222 case " $a " in
2323 START) sq=" $b " ;;
2424 git-subtree-mainline:) main=" $b " ;;
@@ -48,7 +48,6 @@ if [ -z "$latest_squash" ]; then
4848fi
4949
5050set $latest_squash
51- old=$1
5251rev=$2
5352if [ " d$( git cat-file -t $rev 2> /dev/null) " != dcommit ]; then
5453 echo " ERROR: subtree commit $rev unavailable. Fetch/update the subtree repository" >&2
Original file line number Diff line number Diff line change 66sign=false
77verify=false
88build=false
9- setupenv=false
109
1110# Systems to build
1211linux=true
Original file line number Diff line number Diff line change @@ -12,8 +12,6 @@ VERIFIED_ROOT=$(cat "${DIR}/trusted-git-root")
1212VERIFIED_SHA512_ROOT=$( cat " ${DIR} /trusted-sha512-root-commit" )
1313REVSIG_ALLOWED=$( cat " ${DIR} /allow-revsig-commits" )
1414
15- HAVE_FAILED=false
16-
1715HAVE_GNU_SHA512=1
1816[ ! -x " $( which sha512sum) " ] && HAVE_GNU_SHA512=0
1917
@@ -95,9 +93,9 @@ while true; do
9593 FILE_HASHES=" "
9694 for FILE in $( git ls-tree --full-tree -r --name-only " $CURRENT_COMMIT " | LC_ALL=C sort) ; do
9795 if [ " $HAVE_GNU_SHA512 " = 1 ]; then
98- HASH=$( git cat-file blob " $CURRENT_COMMIT " :" $FILE " | sha512sum | { read FIRST OTHER ; echo $FIRST ; } )
96+ HASH=$( git cat-file blob " $CURRENT_COMMIT " :" $FILE " | sha512sum | { read FIRST _ ; echo $FIRST ; } )
9997 else
100- HASH=$( git cat-file blob " $CURRENT_COMMIT " :" $FILE " | shasum -a 512 | { read FIRST OTHER ; echo $FIRST ; } )
98+ HASH=$( git cat-file blob " $CURRENT_COMMIT " :" $FILE " | shasum -a 512 | { read FIRST _ ; echo $FIRST ; } )
10199 fi
102100 [ " $FILE_HASHES " != " " ] && FILE_HASHES=" $FILE_HASHES " '
103101'
Original file line number Diff line number Diff line change @@ -76,8 +76,6 @@ if [ -n "$1" ]; then
7676 BASEDIR=" $BASEDIR$RCSUBDIR .$RCVERSION /"
7777 fi
7878 fi
79-
80- SIGNATUREFILE=" $BASEDIR$SIGNATUREFILENAME "
8179else
8280 echo " Error: need to specify a version on the command line"
8381 exit 2
You can’t perform that action at this time.
0 commit comments