variable used "after macos and packages are installed" is inside quotes

Issue #152 closed
Dustin Nikles created an issue

Using a variable after MacOS and packages are installed adds single quotes to the variable. If I enter 12345 for the value, it is returned as '12345'

Comments (8)

  1. timothy perfitt

    I checked this and quoting seems to work as expected. Can you give an example of how it is causing issues?

  2. Dustin Nikles reporter

    I still see this issue.

    have this in my script: echo $mds_var1 > /var/db/.assetTag

    after an install get this result:

    \$ cat .assetTag

    '12345'

    Used MDS 1.7 build 12254

  3. Dustin Nikles reporter

    Same issue if I have the script run before instead of after as well. I’ll soon test if I don’t erase & install

  4. Dustin Nikles reporter

    Same issue if not erasing… so why am I seeing quotes added and you do not? Or are you telling me adding quotes around the value is an expected behavior?

  5. Log in to comment