Changeset 4820 for palm/trunk/SCRIPTS


Ignore:
Timestamp:
Dec 10, 2020 2:24:52 PM (3 years ago)
Author:
gronemeier
Message:

Bugfix: do not treat empty module_commands as error (palmbuild).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/palmbuild

    r4809 r4820  
    2727# -----------------
    2828# $Id$
     29# Bugfix: do not treat empty module_commands as error
     30#
     31# 4809 2020-12-03 16:37:20Z gronemeier
    2932# Abort if the execution of the module commands raise an error
    3033#
     
    968971          fi
    969972          [[ "$login_init_cmd" != "" ]]   &&  eval $login_init_cmd
    970           [[ "$module_commands" != "" ]]  &&  eval $module_commands || {
    971             printf "\n  +++ Module command(s) failed."
    972             printf "\n      Check the above output of the command(s)."
    973             locat=module_command_error; exit
     973          [[ "$module_commands" != "" ]]  &&  {
     974             eval $module_commands || {
     975               printf "\n  +++ Module command(s) failed."
     976               printf "\n      Check the above output of the command(s)."
     977               locat=module_command_error; exit
     978             }
    974979          }
    975980
Note: See TracChangeset for help on using the changeset viewer.