r3189 - jhalfs/trunk/common

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Mon Oct 16 10:22:58 PDT 2006


Author: manuel
Date: 2006-10-16 11:22:57 -0600 (Mon, 16 Oct 2006)
New Revision: 3189

Modified:
   jhalfs/trunk/common/custom_pkgs
Log:
Added the shabang to auto-generated cunstom scripts.
Trailing space clean-up.

Modified: jhalfs/trunk/common/custom_pkgs
===================================================================
--- jhalfs/trunk/common/custom_pkgs	2006-10-14 17:22:29 UTC (rev 3188)
+++ jhalfs/trunk/common/custom_pkgs	2006-10-16 17:22:57 UTC (rev 3189)
@@ -53,9 +53,12 @@
 
     # Create the build script file
 ( cat <<- xEOFx
+#!/bin/bash
 set -e
+
 cd \$PKGDIR
 `cat tmp`
+
 exit
 xEOFx
 ) > custom-commands/scripts/$THIS_SCRIPT
@@ -80,8 +83,8 @@
 #----------------------------------#
   local BLFS_SERVER="${SERVER}/pub/blfs/conglomeration/"
   local this_script
-  local URL PKG PKG_VERSION PKG_FILE MD5  
-  
+  local URL PKG PKG_VERSION PKG_FILE MD5
+
   > urls.lst.tmp
   for this_script in $JHALFSDIR/custom-commands/config/*; do
     if [[ `basename ${this_script}` = "*" ]]; then
@@ -90,9 +93,9 @@
     fi
     source $this_script
     echo "${URL} ${BLFS_SERVER}${PKG}/${PKG_FILE} ${MD5}" >> urls.lst.tmp
-     # Add any patches.. 
+     # Add any patches..
     for PATCH in PATCH{1..10}; do
-      [[ -n ${!PATCH} ]] && echo "dummy-url ${!PATCH}" >> urls.lst.tmp        
+      [[ -n ${!PATCH} ]] && echo "dummy-url ${!PATCH}" >> urls.lst.tmp
     done
   done
   cat  urls.lst.tmp >> $BUILDDIR/sources/urls.lst




More information about the alfs-log mailing list