#3883: sh scripts that use bash-specific features and bash scripts that don't
use
bash-specific features
--------------------------+-------------------------------------
Reporter: pabs | Owner:
Type: bug | Status: new
Priority: normal | Milestone: unspecified
Component: Build system | Version: 3.1.0
Keywords: | Operating System: All/Non-Specific
--------------------------+-------------------------------------
It is pointless to put {{{#!/bin/bash}}} in scripts that don't use any
bash-specific features. It would be nice to get rid of bash-specific
features in scripts that use {{{#!/bin/sh}}} since some distributions do
not use bash as their {{{/bin/sh}}}.
{{{
could not find any possible bashisms in bash script
./tests/configs/scripts/jslist.sh
could not find any possible bashisms in bash script
./tests/configs/scripts/modellist.sh
could not find any possible bashisms in bash script
./tests/configs/scripts/maplist.sh
possible bashism in ./macosx/configs/fetchscripts/SetupPrebuiltComponents-
msgfmt.sh line 11 (type):
if type -aP msgfmt; then
possible bashism in ./macosx/configs/autorevision.sh line 31 (alternative
test command ([[ foo ]] should be [ foo ])):
if [[ ! "${VCS_TICK}" = "0" ]]; then
possible bashism in ./macosx/configs/autorevision.sh line 44 (alternative
test command ([[ foo ]] should be [ foo ])):
if [[ ! -f "${fauto}" ]] || ! cmp -s "${xauto}" "${fauto}"; then
could not find any possible bashisms in bash script
./macosx/configs/frameworkrequirement.sh
could not find any possible bashisms in bash script
./macosx/BuildBot/00_clean.sh
could not find any possible bashisms in bash script
./macosx/BuildBot/01_configure.sh
could not find any possible bashisms in bash script
./macosx/BuildBot/02_compile.sh
could not find any possible bashisms in bash script
./macosx/BuildBot/03_upload.sh
}}}
--
Ticket URL: <http://developer.wz2100.net/ticket/3883>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Warzone2100-project mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-project