mkruntime.sh script is invalid sh
Bug #121066 reported by
Anders Kaseorg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nspluginwrapper (Ubuntu) |
Fix Released
|
Undecided
|
Mozilla Bugs |
Bug Description
The mkruntime.sh script has some bashisms that need to be removed:
--- nspluginwrapper
+++ nspluginwrapper
@@ -12,15 +12,15 @@
# - Check acroread5, something is missing while loading a PDF
# - Enough for Flash Player & PluginSDK npsimple.so
-function error() {
+error() {
echo ${1+"$@"} > /dev/stderr
}
-function status() {
+status() {
echo ${1+"$@"} > /dev/stderr
}
-function run() {
+run() {
status " " ${1+"$@"}
${1+"$@"}
}
Changed in nspluginwrapper: | |
assignee: | mozilla-bugs → gnomefreak |
To post a comment you must log in.
I guess its still the case, right?