diff options
author | P. J. McDermott <pjm@nac.net> | 2012-01-29 23:09:44 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-01-29 23:09:44 (EST) |
commit | 0c5692f2fc47b4b6216e2807fd4315c28b9425a4 (patch) | |
tree | 965e18adbaac2a50db127fef5e091743e9036367 /COPYING | |
parent | 0ee239776cdfefadb611885d8e88a1cc9174301f (diff) |
Sometimes I hate shell script...
Piping input into a read command won't work, because read will be run in
a subshell and therefore be unable to modify variables of the parent
shell.
Also, for some reason double quotes cause the substring processing in
this parameter expansion to fail:
export OH_PKGVER="${version%'-'*}"
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions