[Flexiblesusy-commits] [FlexibleSUSY/FlexibleSUSY] 23001c: quote value assigned to local variables to prevent...

GitHub noreply at github.com
Fri May 20 09:14:57 BST 2016


  Branch: refs/heads/development
  Home:   https://github.com/FlexibleSUSY/FlexibleSUSY
  Commit: 23001c1752d1f413b6defc062bcea39f87c1d276
      https://github.com/FlexibleSUSY/FlexibleSUSY/commit/23001c1752d1f413b6defc062bcea39f87c1d276
  Author: Alexander Voigt <Alexander.Voigt at desy.de>
  Date:   2016-05-20 (Fri, 20 May 2016)

  Changed paths:
    M configure

  Log Message:
  -----------
  quote value assigned to local variables to prevent problems with dash

Note: if y="a b c", dash expands

  local x=$y

to

  local x=a b c

which leads to an error message: "bad variable name b".
The solution is to quote y:

  local x="$y"




More information about the Flexiblesusy-commits mailing list