Browse Source

Fix incorrect quoting of quotes (the previous quotes had no effect beyond unquoting)

0.16
practicalswift 7 years ago
parent
commit
80f5f28d38
  1. 2
      contrib/macdeploy/detached-sig-create.sh
  2. 2
      contrib/verify-commits/verify-commits.sh
  3. 2
      contrib/verifybinaries/verify.sh

2
contrib/macdeploy/detached-sig-create.sh

@ -40,7 +40,7 @@ grep CodeResources < "${TEMPLIST}" | while read i; do @@ -40,7 +40,7 @@ grep CodeResources < "${TEMPLIST}" | while read i; do
RESOURCE="${TEMPDIR}/${OUTROOT}/${TARGETFILE}"
DIRNAME="`dirname "${RESOURCE}"`"
mkdir -p "${DIRNAME}"
echo "Adding resource for: "${TARGETFILE}""
echo "Adding resource for: \"${TARGETFILE}\""
cp "${i}" "${RESOURCE}"
done

2
contrib/verify-commits/verify-commits.sh

@ -36,7 +36,7 @@ PREV_COMMIT="" @@ -36,7 +36,7 @@ PREV_COMMIT=""
while true; do
if [ "$CURRENT_COMMIT" = $VERIFIED_ROOT ]; then
echo "There is a valid path from "$CURRENT_COMMIT" to $VERIFIED_ROOT where all commits are signed!"
echo "There is a valid path from \"$CURRENT_COMMIT\" to $VERIFIED_ROOT where all commits are signed!"
exit 0
fi

2
contrib/verifybinaries/verify.sh

@ -87,7 +87,7 @@ WGETOUT=$(wget -N "$HOST1$BASEDIR$SIGNATUREFILENAME" 2>&1) @@ -87,7 +87,7 @@ WGETOUT=$(wget -N "$HOST1$BASEDIR$SIGNATUREFILENAME" 2>&1)
#and then see if wget completed successfully
if [ $? -ne 0 ]; then
echo "Error: couldn't fetch signature file. Have you specified the version number in the following format?"
echo "[$VERSIONPREFIX]<version>-[$RCVERSIONSTRING[0-9]] (example: "$VERSIONPREFIX"0.10.4-"$RCVERSIONSTRING"1)"
echo "[$VERSIONPREFIX]<version>-[$RCVERSIONSTRING[0-9]] (example: ${VERSIONPREFIX}0.10.4-${RCVERSIONSTRING}1)"
echo "wget output:"
echo "$WGETOUT"|sed 's/^/\t/g'
exit 2

Loading…
Cancel
Save