From: Matt Birkholz Date: Mon, 26 Nov 2018 19:57:39 +0000 (-0700) Subject: pucked plugins: Punt setup. Get PLUGINS shell array syntax right. X-Git-Tag: mit-scheme-pucked-10.1.2~8 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=7b0ab047b4a591f7d7f5bb09f31047bd9e5acf77;p=mit-scheme.git pucked plugins: Punt setup. Get PLUGINS shell array syntax right. --- diff --git a/dist/make-src-files b/dist/make-src-files index b349d92cf..6f02c71d9 100755 --- a/dist/make-src-files +++ b/dist/make-src-files @@ -57,7 +57,7 @@ notify "Configuring the distribution directory" run_command "${SRC_OUT}"-config "${DIST_DIR}"/src ./Setup.sh run_command "${DOC_OUT}"-config "${DIST_DIR}"/doc reconf -for PLUGIN in ${PLUGINS}; do +for PLUGIN in ${PLUGINS[@]}; do my_rm_rf "${DIST_DIR}"/src/${PLUGIN} done diff --git a/dist/shared.sh b/dist/shared.sh index e4f719f08..377661326 100644 --- a/dist/shared.sh +++ b/dist/shared.sh @@ -101,8 +101,8 @@ NATIVE_OUT=${OUTPUT_DIR}/native MACOSX_OUT=${OUTPUT_DIR}/macosx PLUGINS=(blowfish gdbm mcrypt edwin imail x11 x11-screen) -PLUGINS=($PLUGINS berkeley-db pgsql) -PLUGINS=($PLUGINS cairo gl glib gtk gtk-screen pango planetarium devops) +PLUGINS=(${PLUGINS[@]} berkeley-db pgsql) +PLUGINS=(${PLUGINS[@]} cairo gl glib gtk gtk-screen pango planetarium devops) notify () { diff --git a/src/Setup.sh b/src/Setup.sh index 538b9ff9d..d65a94577 100755 --- a/src/Setup.sh +++ b/src/Setup.sh @@ -108,6 +108,7 @@ for SUBDIR in ${INSTALLED_SUBDIRS} ${OTHER_SUBDIRS}; do (cd ${SUBDIR} && ./Setup.sh ${1+"$@"}) done +PLUGIN_SUBDIRS= for SUBDIR in ${PLUGIN_SUBDIRS}; do echo "setting up ${SUBDIR}" (cd ${SUBDIR} && ./autogen.sh)