OpenCores
URL https://opencores.org/ocsvn/minsoc/minsoc/trunk

Subversion Repositories minsoc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /minsoc/branches
    from Rev 113 to Rev 114
    Reverse comparison

Rev 113 → Rev 114

/rc-1.0/utils/setup/minsoc-configure.sh
6,11 → 6,11
# ===== CONFIGURATIONS =====
# ==========================
 
SCRIPT_DIR="$( cd -P "$( dirname "$0" )" && pwd )"
export DIR_TO_INSTALL=`pwd`/../../../
export SCRIPT_DIR="$( cd -P "$( dirname "$0" )" && pwd )"
export DIR_TO_INSTALL=`pwd`
# Debug ?
export DEBUG=0;
. beautify.sh
. ${SCRIPT_DIR}/beautify.sh
 
function testtool
{
/rc-1.0/utils/setup/beautify.sh
5,19 → 5,19
function cecho
{
echo -e "\033[1m\033[33m$1\033[0m"
echo -e "\033[1m\033[33m$1\033[0m" >> ${DIR_TO_INSTALL}/progress.log
echo -e "\033[1m\033[33m$1\033[0m" >> ${SCRIPT_DIR}/progress.log
}
 
function cnecho
{
echo -e -n "\033[0m\033[33m$1\033[0m"
echo -e -n "\033[0m\033[33m$1\033[0m" >> ${DIR_TO_INSTALL}/progress.log
echo -e -n "\033[0m\033[33m$1\033[0m" >> ${SCRIPT_DIR}/progress.log
}
 
function errormsg
{
echo -e "\033[1m\033[31mError: $1\033[0m\n";
echo -e "\033[1m\033[31mError: $1\033[0m\n" >> ${DIR_TO_INSTALL}/error.log
echo -e "\033[1m\033[31mError: $1\033[0m\n" >> ${SCRIPT_DIR}/error.log
exit 1;
}
 
24,7 → 24,7
function _execcmd
{
# Print Message
echo -e "\033[35m$1...\033[0m\n" >> ${DIR_TO_INSTALL}/progress.log
echo -e "\033[35m$1...\033[0m\n" >> ${SCRIPT_DIR}/progress.log
if [ -n "$1" ]
then
echo -e -n "\033[35m$1...\033[0m"
32,7 → 32,7
# Execute command
if [ $DEBUG -ne 1 ];
then
eval $2 1>>${DIR_TO_INSTALL}/progress.log 2>>${DIR_TO_INSTALL}/error.log;
eval $2 1>>${SCRIPT_DIR}/progress.log 2>>${SCRIPT_DIR}/error.log;
fi;
# Check Execution
if [ $? -eq 0 ]
40,7 → 40,7
if [ -n "$1" ]
then
echo -e "\033[32mcomplete\033[0m";
echo -e "\033[32mcomplete\033[0m" >> ${DIR_TO_INSTALL}/progress.log
echo -e "\033[32mcomplete\033[0m" >> ${SCRIPT_DIR}/progress.log
fi
else
errormsg "Command: $2 Description: $1";
/rc-1.0/utils/setup/minsoc-install.sh
6,12 → 6,12
# ===== CONFIGURATIONS =====
# ==========================
MINSOC_SVN_URL=http://opencores.org/ocsvn/minsoc/minsoc/branches/rc-1.0
SCRIPT_DIR="$( cd -P "$( dirname "$0" )" && pwd )"
export SCRIPT_DIR="$( cd -P "$( dirname "$0" )" && pwd )"
export DIR_TO_INSTALL=`pwd`
 
# Debug ?
export DEBUG=0;
. beautify.sh
. ${SCRIPT_DIR}/beautify.sh
 
function testtool
{

powered by: WebSVN 2.1.0

© copyright 1999-2021 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.