Browse Source

Fixed some vi-highlighting problems in ./scripts/Create-ISO and changed a ['s == to =

karasz/new-early
Alejandro Mery 17 years ago
parent
commit
df26a450cc
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      scripts/Create-ISO

+ 3
- 4
scripts/Create-ISO

@ -89,7 +89,7 @@ if [ "$implantisomd5" = 1 -a ! -x tmp/isomd5sum/implantisomd5 ] ; then
fi
echo ; date "+ [%X] Removing old files with same prefix ..."
[ "${isoprefix//\//}" == "${isoprefix}" ] && isoprefix="iso/$isoprefix"
[ "${isoprefix//\//}" = "${isoprefix}" ] && isoprefix="iso/$isoprefix"
mkdir -vp ${isoprefix%/*}
rm -rvf ${isoprefix}_* ${isoprefix}.md5
@ -98,8 +98,7 @@ index=`mktemp` ; dat=`mktemp` ; pathspec=`mktemp`
rm -f ${pathspec}*
for cfg ; do
id="`grep '^export SDECFG_ID=' config/$cfg/config |
cut -f2 -d\' 2> /dev/null`"
id="$( grep '^export SDECFG_ID=' config/$cfg/config | cut -f2 -d"'" 2> /dev/null)"
if ! cat build/$id/TOOLCHAIN/isofs.txt >> $dat 2> /dev/null
then
echo "Not a valid build: $cfg"
@ -117,7 +116,7 @@ for cfg ; do
echo "The following packages may have license restrictions:" >> build/$id/TOOLCHAIN/LICENSE-WARNING
cat config/$cfg/license-issue.ask >> build/$id/TOOLCHAIN/LICENSE-WARNING
if [ "`grep '^export SDECFG_LICENSE_ISSUE=' config/$cfg/config | cut -f2 -d\'`" = "0" ]; then
if [ "$( grep '^export SDECFG_LICENSE_ISSUE=' config/$cfg/config | cut -f2 -d"'")" = "0" ]; then
cat <<EOF
You have chosen to compile packages that are restricted
in their redistribution. Unless you accept this limitation

Loading…
Cancel
Save