Replaced /bin/sh by /bin/bash

This commit is contained in:
Manuel Canales Esparcia 2006-11-11 11:39:16 +00:00
parent 837797e92a
commit 91ff6a9e0c
22 changed files with 27 additions and 27 deletions

View file

@ -86,7 +86,7 @@
<!-- Creating the scripts --> <!-- Creating the scripts -->
<exsl:document href="{$order}-z-{$filename}" method="text"> <exsl:document href="{$order}-z-{$filename}" method="text">
<xsl:text>#!/bin/sh&#xA;set -e&#xA;&#xA;</xsl:text> <xsl:text>#!/bin/bash&#xA;set -e&#xA;&#xA;</xsl:text>
<xsl:choose> <xsl:choose>
<!-- Package page --> <!-- Package page -->
<xsl:when test="sect2[@role='package'] and not(@id = 'xorg7-app' or <xsl:when test="sect2[@role='package'] and not(@id = 'xorg7-app' or

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# $Id$ # $Id$

View file

@ -66,7 +66,7 @@
</xsl:variable> </xsl:variable>
<!-- Creating dirs and files --> <!-- Creating dirs and files -->
<exsl:document href="{$dirname}/{$order}-{$filename}" method="text"> <exsl:document href="{$dirname}/{$order}-{$filename}" method="text">
<xsl:text>#!/bin/sh&#xA;</xsl:text> <xsl:text>#!/bin/bash&#xA;</xsl:text>
<xsl:if test="not(@id='ch-system-stripping')"> <xsl:if test="not(@id='ch-system-stripping')">
<xsl:text>set -e&#xA;&#xA;</xsl:text> <xsl:text>set -e&#xA;&#xA;</xsl:text>
</xsl:if> </xsl:if>

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# $Id$ # $Id$
################################### ###################################

View file

@ -66,7 +66,7 @@
</xsl:variable> </xsl:variable>
<!-- Creating dirs and files --> <!-- Creating dirs and files -->
<exsl:document href="{$dirname}/{$order}-{$filename}" method="text"> <exsl:document href="{$dirname}/{$order}-{$filename}" method="text">
<xsl:text>#!/bin/sh&#xA;</xsl:text> <xsl:text>#!/bin/bash&#xA;</xsl:text>
<xsl:if test="not(@id='ch-system-stripping')"> <xsl:if test="not(@id='ch-system-stripping')">
<xsl:text>set -e&#xA;&#xA;</xsl:text> <xsl:text>set -e&#xA;&#xA;</xsl:text>
</xsl:if> </xsl:if>

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# $Id$ # $Id$
################################### ###################################

View file

@ -91,10 +91,10 @@
</xsl:when> </xsl:when>
<xsl:when test="@id='ch-tools-stripping' or <xsl:when test="@id='ch-tools-stripping' or
@id='ch-system-strippingagain'"> @id='ch-system-strippingagain'">
<xsl:text>#!/bin/sh&#xA;</xsl:text> <xsl:text>#!/bin/bash&#xA;</xsl:text>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:text>#!/bin/sh&#xA;set -e&#xA;&#xA;</xsl:text> <xsl:text>#!/bin/bash&#xA;set -e&#xA;&#xA;</xsl:text>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
<xsl:if test="(sect2[@role='installation'] and <xsl:if test="(sect2[@role='installation'] and

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
set -e # Enable error trapping set -e # Enable error trapping
# $Id$ # $Id$

View file

@ -82,10 +82,10 @@
</xsl:when> </xsl:when>
<xsl:when test="@id='ch-tools-stripping' or <xsl:when test="@id='ch-tools-stripping' or
@id='ch-system-strippingagain'"> @id='ch-system-strippingagain'">
<xsl:text>#!/bin/sh&#xA;</xsl:text> <xsl:text>#!/bin/bash&#xA;</xsl:text>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:text>#!/bin/sh&#xA;set -e&#xA;&#xA;</xsl:text> <xsl:text>#!/bin/bash&#xA;set -e&#xA;&#xA;</xsl:text>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
<xsl:if test="sect2[@role='installation']"> <xsl:if test="sect2[@role='installation']">

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# $Id$ # $Id$

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# $Id$ # $Id$

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# $Id$ # $Id$

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# $Id$ # $Id$

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# $Id$ # $Id$

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# $Id$ # $Id$

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# $Id$ # $Id$

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# $Id$ # $Id$

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# $Id$ # $Id$

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# $Id$ # $Id$

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# $Id$ # $Id$

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# $Id$ # $Id$

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# $Id$ # $Id$
@ -60,7 +60,7 @@ set -e
exit exit
xEOFx xEOFx
) > custom-commands/scripts/$THIS_SCRIPT ) > custom-commands/scripts/$THIS_SCRIPT
else else
# Create an entry for package # Create an entry for package
( cat << EOF ( cat << EOF
@ -90,7 +90,7 @@ exit
xEOFx xEOFx
) > custom-commands/scripts/$THIS_SCRIPT ) > custom-commands/scripts/$THIS_SCRIPT
fi fi
chmod 755 custom-commands/scripts/$THIS_SCRIPT chmod 755 custom-commands/scripts/$THIS_SCRIPT
rm -f tmp rm -f tmp
PREV_SCRIPT=$THIS_SCRIPT PREV_SCRIPT=$THIS_SCRIPT
@ -122,7 +122,7 @@ add_CustomToolsURLS() { # Add any users supplied scripts URL informat
source $this_script source $this_script
# A cmd only script had no PKG defined # A cmd only script had no PKG defined
[[ "x${PKG}" = "x" ]] && continue [[ "x${PKG}" = "x" ]] && continue
echo "${URL} ${BLFS_SERVER}${PKG}/${PKG_FILE} ${MD5}" >> urls.lst.tmp echo "${URL} ${BLFS_SERVER}${PKG}/${PKG_FILE} ${MD5}" >> urls.lst.tmp
# Add any patches.. # Add any patches..
for PATCH in PATCH{1..10}; do for PATCH in PATCH{1..10}; do