• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

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

Revisione61d0779ca4f7cdb1444daf92019bb2955ebe794 (tree)
Time2022-03-12 19:30:54
AuthorKeith 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

Incremental Difference

--- 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} || {