• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得cocoawindowspythonrubyphpgameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdombtronvb.netdirectxarduinopreviewerゲームエンジン

Experimental package creation tool for MinGW.org


Commit MetaInfo

修訂e61d0779ca4f7cdb1444daf92019bb2955ebe794 (tree)
時間2022-03-12 19:30:54
作者Keith Marshall <keith@user...>
CommiterKeith Marshall

Log Message

Identify mkspec target directory more intelligently.

* src/modules/mkspec.sh (SPECSFILE_DIR): Assign it as...
[SRCDIR defined] (SRCDIR): ...this; otherwise assign it as...
[! SRCDIR defined] (PACKAGE_SRCDIR): ...this.

Change Summary

差異

--- a/src/modules/mkspec.sh
+++ b/src/modules/mkspec.sh
@@ -38,8 +38,8 @@
3838 #
3939 ${write_stdout=false} || {
4040 local SPECSFILE SPECSFILE_DIR
41- SPECSFILE_DIR=${PACKAGE_SRCDIR-"."}/arch/${ARCH-"mingw32"}
4241 SPECSFILE=$PACKAGE-$VERSION${ARCH+"-$ARCH"}.pkgspec
42+ SPECSFILE_DIR=${SRCDIR-${PACKAGE_SRCDIR-"."}}/arch/${ARCH-"mingw32"}
4343 test -e "$SPECSFILE_DIR/$SPECSFILE" && {
4444 ${force_overwrite-false} || {
4545 ${edit_mode-false} || {