if [ ! -e /etc/vhdl.sh ]
then
  echo "creating /etc/vhdl.sh"
  cat > /etc/vhdl.sh << EOF
echo '  [ sourcing /etc/vhdl.sh ]'
export SYMPHONYEDA="/usr/vhdl/simili"
source "\$SYMPHONYEDA/bin/init.sh"
export PATH="\$PATH:/usr/vhdl/vanilla"
EOF
chmod 755 /etc/vhdl.sh
fi &&

if [ ! -d /usr/vhdl ]
then
  echo "creating /usr/vhdl"
  mkdir /usr/vhdl &&
  chmod 755 /usr/vhdl
fi
