wtr
Full Member level 5
Hello all here is the current situation
Shell my terminal opens into is tcsh. The script i'm trying to run
source ./script.sh
or
source script.sh
Results is
VIVADO_VER=2015.4: command not found.
Why is it freaking out? Given that the script is not tcsh i wouldn't need the setenv command.
Regards,
Wes
Shell my terminal opens into is tcsh. The script i'm trying to run
Code:
#!/bin/bash
VIVADO_VER=2015.4
DISPLAY_NAME="USRP-X3x0"
REPO_BASE_PATH=$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)
declare -A PRODUCT_ID_MAP
PRODUCT_ID_MAP["X300"]="kintex7/xc7k325t/ffg900/-2"
PRODUCT_ID_MAP["X310"]="kintex7/xc7k410t/ffg900/-2"
source $REPO_BASE_PATH/tools/scripts/setupenv_base.sh
source ./script.sh
or
source script.sh
Results is
VIVADO_VER=2015.4: command not found.
Why is it freaking out? Given that the script is not tcsh i wouldn't need the setenv command.
Regards,
Wes