• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Experimental package creation tool for MinGW.org


Commit MetaInfo

修訂43fec02b53488a8953cc4115db74c311bcb0ffc0 (tree)
時間2020-09-19 23:52:58
作者Keith Marshall <keith@user...>
CommiterKeith Marshall

Log Message

Support just-in-time package list evaluation.

* src/modules/actions.sh (package_staged_distribution): Evaluate...
($package_list): ...this indirect variable reference, using "eval", to
expand any deferred command substitutions or variable references.

Change Summary

差異

--- a/src/modules/actions.sh
+++ b/src/modules/actions.sh
@@ -213,13 +213,14 @@
213213
214214 package_staged_distribution() {
215215 for component
216- do packing_list=`sanitized_name $component`_package_content
216+ do local packing_list=`sanitized_name $component`_package_content
217217 case $component in
218218 *:*) package="`IFS=:; set -- $component; echo $1`"
219219 component="`IFS=:; set -- $component; echo $2`" ;;
220220 *) package=$PACKAGE ;;
221221 esac
222222 package="$package-$TAGGED_VERSION-$ARCH-$component${PKGEXT-".tar"}"
223+ eval $packing_list='`eval echo $'$packing_list'`'
223224 step "storing package '$package'"
224225 if test "x${COMPRESS_CMD-"none"}" = xnone
225226 then eval ${ARCHIVE_CMD-"tar"}' cPhf ../$package --hard-dereference $'$packing_list