public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] BaseTools: Convert PosixLike scripts to sh, reduce duplication and fix some bugs in edksetup.sh and BuildEnv
@ 2019-02-22  5:12 Rebecca Cran
  2019-02-22  5:12 ` [PATCH] Convert PosixLike scripts to sh, reduce duplication and fix some bugs Rebecca Cran
  0 siblings, 1 reply; 4+ messages in thread
From: Rebecca Cran @ 2019-02-22  5:12 UTC (permalink / raw)
  To: edk2-devel

To make it easier to use EDK2 on systems other than Linux, where the default shell might
not be bash, I'd like to convert the shell scripts to use POSIX sh where possible.

edksetup.sh and BuildEnv remain bash scripts, but I hope to convert them to sh in a future
changeset.

I did see the argument against using $0 in http://mywiki.wooledge.org/BashFAQ/028, but I'm
not sure anyone using EDK2 will run into problems the article describes.

I checked the scripts with shellcheck.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-02-26  3:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-22  5:12 [PATCH] BaseTools: Convert PosixLike scripts to sh, reduce duplication and fix some bugs in edksetup.sh and BuildEnv Rebecca Cran
2019-02-22  5:12 ` [PATCH] Convert PosixLike scripts to sh, reduce duplication and fix some bugs Rebecca Cran
2019-02-26  3:11   ` Feng, Bob C
2019-02-26  3:50     ` Rebecca Cran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox