Revision 1446566f
| compiler/GCC/gccsetup.sh | ||
|---|---|---|
| 633 | 633 |
fi |
| 634 | 634 |
printf "\n" |
| 635 | 635 |
|
| 636 |
# if --help or -h was specified, print the help text and exit |
|
| 637 |
if [[ $@ == *"--help"* || $@ == *"-h"* ]]; then |
|
| 638 |
printHelp |
|
| 639 |
printf "\n" |
|
| 640 |
quitScript |
|
| 641 |
fi |
|
| 642 |
|
|
| 636 | 643 |
# set log file if specified |
| 637 | 644 |
if [[ $@ == *"--log"* ]] || [[ $@ == *"--LOG"* ]]; then |
| 638 | 645 |
# get the parameter (file name) |
| ... | ... | |
| 656 | 663 |
printf "\n" |
| 657 | 664 |
fi |
| 658 | 665 |
fi |
| 659 |
|
|
| 660 | 666 |
# log script name |
| 661 | 667 |
printLog "this is $(realpath ${BASH_SOURCE[0]})\n"
|
| 662 | 668 |
|
| 663 |
# if --help or -h was specified, print the help text and exit |
|
| 664 |
if [[ $@ == *"--help"* || $@ == *"-h"* ]]; then |
|
| 665 |
printHelp |
|
| 666 |
printf "\n" |
|
| 667 |
quitScript |
|
| 668 |
fi |
|
| 669 |
|
|
| 670 | 669 |
# detect installed versions and inform user |
| 671 | 670 |
local installedversions=() |
| 672 | 671 |
local currentversion="" |
| compiler/compilersetup.sh | ||
|---|---|---|
| 346 | 346 |
fi |
| 347 | 347 |
printf "\n" |
| 348 | 348 |
|
| 349 |
# if --help or -h was specified, print the help text and exit |
|
| 350 |
if [[ $@ == *"--help"* || $@ == *"-h"* ]]; then |
|
| 351 |
printHelp |
|
| 352 |
printf "\n" |
|
| 353 |
quitScript |
|
| 354 |
fi |
|
| 355 |
|
|
| 349 | 356 |
# set log file if specified |
| 350 | 357 |
if [[ $@ == *"--log"* ]] || [[ $@ == *"--LOG"* ]]; then |
| 351 | 358 |
# get the parameter (file name) |
| ... | ... | |
| 369 | 376 |
printf "\n" |
| 370 | 377 |
fi |
| 371 | 378 |
fi |
| 372 |
|
|
| 373 | 379 |
# log script name |
| 374 | 380 |
printLog "this is $(realpath ${BASH_SOURCE[0]})\n"
|
| 375 | 381 |
|
| 376 |
# if --help or -h was specified, print the help text and exit |
|
| 377 |
if [[ $@ == *"--help"* || $@ == *"-h"* ]]; then |
|
| 378 |
printHelp |
|
| 379 |
printf "\n" |
|
| 380 |
quitScript |
|
| 381 |
fi |
|
| 382 |
|
|
| 383 | 382 |
# parse arguments |
| 384 | 383 |
local otherargs=() |
| 385 | 384 |
while [ $# -gt 0 ]; do |
| ide/QtCreator/QtCreatorSetup.sh | ||
|---|---|---|
| 793 | 793 |
fi |
| 794 | 794 |
printf "\n" |
| 795 | 795 |
|
| 796 |
# if --help or -h was specified, print the help text and exit |
|
| 797 |
if [[ $@ == *"--help"* || $@ == *"-h"* ]]; then |
|
| 798 |
printHelp |
|
| 799 |
printf "\n" |
|
| 800 |
quitScript |
|
| 801 |
fi |
|
| 802 |
|
|
| 796 | 803 |
# set log file if specified |
| 797 | 804 |
if [[ $@ == *"--log"* ]] || [[ $@ == *"--LOG"* ]]; then |
| 798 | 805 |
# get the parameter (file name) |
| ... | ... | |
| 816 | 823 |
printf "\n" |
| 817 | 824 |
fi |
| 818 | 825 |
fi |
| 819 |
|
|
| 820 | 826 |
# log script name |
| 821 | 827 |
printLog "this is $(realpath ${BASH_SOURCE[0]})\n"
|
| 822 | 828 |
|
| 823 |
# if --help or -h was specified, print the help text and exit |
|
| 824 |
if [[ $@ == *"--help"* || $@ == *"-h"* ]]; then |
|
| 825 |
printHelp |
|
| 826 |
printf "\n" |
|
| 827 |
quitScript |
|
| 828 |
fi |
|
| 829 |
|
|
| 830 | 829 |
# parse arguments |
| 831 | 830 |
local otherargs=() |
| 832 | 831 |
while [ $# -gt 0 ]; do |
| ide/idesetup.sh | ||
|---|---|---|
| 346 | 346 |
fi |
| 347 | 347 |
printf "\n" |
| 348 | 348 |
|
| 349 |
# if --help or -h was specified, print the help text and exit |
|
| 350 |
if [[ $@ == *"--help"* || $@ == *"-h"* ]]; then |
|
| 351 |
printHelp |
|
| 352 |
printf "\n" |
|
| 353 |
quitScript |
|
| 354 |
fi |
|
| 355 |
|
|
| 349 | 356 |
# set log file if specified |
| 350 | 357 |
if [[ $@ == *"--log"* ]] || [[ $@ == *"--LOG"* ]]; then |
| 351 | 358 |
# get the parameter (file name) |
| ... | ... | |
| 369 | 376 |
printf "\n" |
| 370 | 377 |
fi |
| 371 | 378 |
fi |
| 372 |
|
|
| 373 | 379 |
# log script name |
| 374 | 380 |
printLog "this is $(realpath ${BASH_SOURCE[0]})\n"
|
| 375 | 381 |
|
| 376 |
# if --help or -h was specified, print the help text and exit |
|
| 377 |
if [[ $@ == *"--help"* || $@ == *"-h"* ]]; then |
|
| 378 |
printHelp |
|
| 379 |
printf "\n" |
|
| 380 |
quitScript |
|
| 381 |
fi |
|
| 382 |
|
|
| 383 | 382 |
# parse arguments |
| 384 | 383 |
local otherargs=() |
| 385 | 384 |
while [ $# -gt 0 ]; do |
| setup.sh | ||
|---|---|---|
| 486 | 486 |
fi |
| 487 | 487 |
printf "\n" |
| 488 | 488 |
|
| 489 |
# if --help or -h was specified, print the help text and exit |
|
| 490 |
if [[ $@ == *"--help"* || $@ == *"-h"* ]]; then |
|
| 491 |
printHelp |
|
| 492 |
printf "\n" |
|
| 493 |
cd $userdir |
|
| 494 |
quitScript |
|
| 495 |
fi |
|
| 496 |
|
|
| 489 | 497 |
# set log file if specified |
| 490 | 498 |
if [[ $@ == *"--log"* ]] || [[ $@ == *"--LOG"* ]]; then |
| 491 | 499 |
# get the parameter (file name) |
| ... | ... | |
| 509 | 517 |
printf "\n" |
| 510 | 518 |
fi |
| 511 | 519 |
fi |
| 512 |
|
|
| 513 | 520 |
# log script name |
| 514 | 521 |
printLog "this is $(realpath ${BASH_SOURCE[0]})\n"
|
| 515 | 522 |
|
| 516 |
# if --help or -h was specified, print the help text and exit |
|
| 517 |
if [[ $@ == *"--help"* || $@ == *"-h"* ]]; then |
|
| 518 |
printHelp |
|
| 519 |
printf "\n" |
|
| 520 |
cd $userdir |
|
| 521 |
quitScript |
|
| 522 |
fi |
|
| 523 |
|
|
| 524 | 523 |
# parse arguments |
| 525 | 524 |
local otherargs=() |
| 526 | 525 |
while [ $# -gt 0 ]; do |
Also available in: Unified diff