Revision c9c97bb3

View differences:

tools/compiler/GCC/gccsetup.sh
428 428
#                 No error or warnign occurred.
429 429
#             1
430 430
#                 Warning: Installation aborted by user.
431
#            -1
431
#             -1
432 432
#                 Error: specified URL can not be reached.
433
#             -2
434
#                 Error: Missing dependecny.
433 435
#
434 436
function installNewVersion {
435 437
  local installbasedir=${HOME}/gcc-arm-embedded
436 438
  local linkdir="/usr/bin"
437 439

  
440
  # check dependencies
441
  checkCommands wget
442
  if [ $? -ne 0 ]; then
443
    printError "Missing dependencies detected.\n"
444
    return -2
445
  fi
446

  
438 447
  # parse arguments
439 448
  local otherargs=()
440 449
  while [ $# -gt 0 ]; do

Also available in: Unified diff