#!/bin/sh
INSTALL_DIR=`pwd`
gnatprep -DCONFIG_DIR=\"${INSTALL_DIR}/config\" -DVERSION=\"1.3.0\" src/gen-configs.gpb src/gen-configs.ads
sed -e 's,@GNAT_PROJECT_PATHS@,.,' \
    -e 's,@DYNAMO_SEARCH_DIR@,.,' \
    -e "s,@BUNDLE_DIR@,.," \
    config/generator.properties.in > config/generator.properties

#!/bin/sh
INSTALL_DIR=`pwd`
gnatprep -DCONFIG_DIR=\"${INSTALL_DIR}/config\" -DVERSION=\"1.3.0\" src/gen-configs.gpb src/gen-configs.ads
GNATBUILD=`which gprbuild`
GNATBIN=`dirname ${GNATBUILD}`
GNATDIR=`dirname ${GNATBIN}`
GNAT_PROJECT_PATHS="${GNATDIR}/share/gpr"
sed -e "s,@GNAT_PROJECT_PATHS@,${GNAT_PROJECT_PATHS}," \
    -e 's,@DYNAMO_SEARCH_DIR@,.,' \
    -e "s,@BUNDLE_DIR@,.," \
    config/generator.properties.in > config/generator.properties

Fix the alire setup script so that we have a default configuration to search for GNAT projects
Fix the alire setup script so that we have a default configuration to search for GNAT projects
