Browse Source

Change book build scripts to specify bash, not sh

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8552 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 17 years ago
parent
commit
abcee477f0
2 changed files with 3 additions and 3 deletions
  1. 2 2
      Makefile
  2. 1 1
      process-scripts.sh

+ 2 - 2
Makefile

@@ -67,7 +67,7 @@ nochunks: validxml profile-html
 	@echo "Running Tidy..."
 	$(Q)tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || true
 	@echo "Running obfuscate.sh..."
-	$(Q)sh obfuscate.sh $(BASEDIR)/$(NOCHUNKS_OUTPUT)
+	$(Q)bash obfuscate.sh $(BASEDIR)/$(NOCHUNKS_OUTPUT)
 	$(Q)sed -i -e "s@text/html@application/xhtml+xml@g"  \
 	  $(BASEDIR)/$(NOCHUNKS_OUTPUT)
 
@@ -79,7 +79,7 @@ tmpdir:
 
 validxml: tmpdir
 	@echo "Processing bootscripts..."
-	$(Q)sh process-scripts.sh $(RENDERTMP)
+	$(Q)bash process-scripts.sh $(RENDERTMP)
 	@echo "Validating the book..."
 	$(Q)xmllint --nonet --noent --xinclude --postvalid \
 	  -o $(RENDERTMP)/lfs-full.xml index.xml

+ 1 - 1
process-scripts.sh

@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Boot scripts
 for s in bootscripts/lfs/init.d/*                    \