new package wizard: change bash-specific construct
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 22 Oct 2008 05:19:04 +0000 (05:19 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 22 Oct 2008 05:19:04 +0000 (05:19 -0000)
commit6fd903a4deaa99fa2b1a482a5c775023f1a829ea
tree247ac59ffb5b8d420b75173c6b9371a18f9a6f2a
parent14717272bee0254edcbfd931c8a0668da6ccebca
new package wizard: change bash-specific construct

Patch by Markus Heidelberg.

${VAR//-/_} which replaces - with _ aborts with "syntax error" on a
system where /bin/sh points to dash. Use tr therefor as already done in
the line above rather than changing the shebang to bash.
scripts/add_new_package.wizard