Closed (won't fix)
Project:
Drupal core
Version:
7.x-dev
Component:
simpletest.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 May 2009 at 14:31 UTC
Updated:
11 Jun 2009 at 08:38 UTC
I find this .sh extension confusing, since you expect it's a shell script.
You could also keep the .sh file, but make it a shell wrapper script to the php file.
Comments
Comment #1
boombatower commentedTotally agree. It used to be runnable as a shell script, but it was changed to attempt to auto detect php interpreter location and actually makes it more annoying since it doesn't work on more machines then it does (including mine). I would prefer we go back to assuming /usr/bin/php and allow those that it isn't to manually change it.
Either that or we rename the file to .php, but this needs to be done in core and backported.
Comment #2
boombatower commenteddoh
this needs to be updated on test bot when/if changed.
Comment #3
damien tournoud commentedNo. The .sh extension is there so that the webserver will never try to execute the file itself.
Comment #4
RockyRoad commentedThat sounds a bit weird.
Isn't it the role of apache to take care of that sort of things, if critical ?
I'd look towards .htaccess solutions
My two cents.