Let is a bashism. If the script has the shebang set to /bin/sh on an Ubuntu server (which sets /bin/sh to dash), that will fail. If you want to use bashisms make sure the shell is bash in the shebang.
Text by Jeff, typos by iPhone On Aug 12, 2012, at 14:17, "sysadmin" (bugzilla.gnome.org) <[email protected]> wrote: > https://bugzilla.gnome.org/show_bug.cgi?id=681701 > sysadmin | Other | unspecified > > Summary: let not found on progress > Classification: Infrastructure > Product: sysadmin > Version: unspecified > OS/Version: Linux > Status: UNCONFIRMED > Severity: normal > Priority: Normal > Component: Other > AssignedTo: [email protected] > ReportedBy: [email protected] > QAContact: [email protected] > GNOME version: --- > > > Hi sysadmins! > > progress server hosts Damned-Lies which has a /etc/init.d/djamnedlies to start > and stop it. > > When running that script with gnomeweb user it complains about: > > /etc/init.d/djamnedlies: 56: /etc/init.d/djamnedlies: let: not found > > Some sort of problem with the shell used to run the script? > > -- > Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You are watching the QA contact of the bug. > You are watching the assignee of the bug. > _______________________________________________ > gnome-infrastructure mailing list > [email protected] > https://mail.gnome.org/mailman/listinfo/gnome-infrastructure _______________________________________________ gnome-infrastructure mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gnome-infrastructure
