Browse Source

Removed even more superfluous ""s and ''s

karasz/new-early
Alejandro Mery 16 years ago
parent
commit
af30fe6fe5
30 changed files with 131 additions and 124 deletions
  1. +5
    -4
      architecture/sh/gcc-options.in
  2. +5
    -4
      architecture/sh64/gcc-options.in
  3. +5
    -4
      architecture/sparc/gcc-options.in
  4. +5
    -4
      architecture/x86/boot/makeimages.sh
  5. +3
    -3
      bin/sde-download
  6. +2
    -2
      lib/core-functions.in
  7. +10
    -10
      lib/functions.in
  8. +3
    -3
      lib/output/parse-config
  9. +6
    -6
      lib/parse-config
  10. +3
    -3
      lib/sde-config/functions.in
  11. +2
    -2
      lib/sde-package/new-freshmeat.sh
  12. +1
    -1
      lib/sde-package/patch-copyright.sh
  13. +5
    -4
      misc/archive/GenDepGraph.sh
  14. +3
    -3
      misc/archive/mklibs.sh
  15. +8
    -8
      scripts/Build-Pkg
  16. +3
    -3
      scripts/Build-Target
  17. +10
    -10
      scripts/Build-Tools
  18. +2
    -2
      scripts/Check-PkgFormat
  19. +7
    -7
      scripts/Config
  20. +2
    -2
      scripts/Create-DescPatch
  21. +4
    -4
      scripts/Create-Diff
  22. +6
    -6
      scripts/Create-ErrList
  23. +5
    -5
      scripts/Create-ISO
  24. +3
    -3
      scripts/Create-Links
  25. +3
    -3
      scripts/Create-PkgQueue
  26. +4
    -4
      scripts/Emerge-Pkg
  27. +5
    -4
      src/tools-source/install_wrapper.sh
  28. +7
    -6
      target/dreamcast/DreamBurn.sh
  29. +2
    -2
      target/share/install/build_stage2.sh
  30. +2
    -2
      target/share/livecd/build_image.sh

+ 5
- 4
architecture/sh/gcc-options.in

@ -1,7 +1,8 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: architecture/sh/gcc-options.in
# Filename: architecture/sh/gcc-options.in
# Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -10,10 +11,10 @@
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
# --- SDE-COPYRIGHT-NOTE-END ---
if [ "$SDECFG_SH_OPT" ] ; then
opt=""
opt=
case "$SDECFG_SH_OPT" in
sh) opt="-m1" ;;
sh2) opt="-m2" ;;

+ 5
- 4
architecture/sh64/gcc-options.in

@ -1,7 +1,8 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: architecture/sh64/gcc-options.in
# Filename: architecture/sh64/gcc-options.in
# Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -10,10 +11,10 @@
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
# --- SDE-COPYRIGHT-NOTE-END ---
if [ "$SDECFG_SH64_OPT" ] ; then
opt=""
opt=
case "$SDECFG_SH64_OPT" in
sh5) opt="-m5" ;;
esac

+ 5
- 4
architecture/sparc/gcc-options.in

@ -1,7 +1,8 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: architecture/sparc/gcc-options.in
# Filename: architecture/sparc/gcc-options.in
# Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -10,10 +11,10 @@
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
# --- SDE-COPYRIGHT-NOTE-END ---
if [ "$SDECFG_SPARC_OPT" ] ; then
opt=""
opt=
case "$SDECFG_SPARC_OPT" in
v7) opt="-mcpu=cypress -mtune=cypress" ;;
v8) opt="-mcpu=supersparc -mtune=supersparc" ;;

+ 5
- 4
architecture/x86/boot/makeimages.sh

@ -1,8 +1,9 @@
#!/bin/sh
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: architecture/x86/boot/makeimages.sh
# Filename: architecture/x86/boot/makeimages.sh
# Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -11,7 +12,7 @@
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
# --- SDE-COPYRIGHT-NOTE-END ---
if [ "$1" = -reroot ] ; then
echo "Old PATH: $PATH"
@ -36,7 +37,7 @@ tmpdir=$tmpfile.dir
mkdir $tmpdir || exit 1
rc=0
tmpdev=""
tmpdev=
for x in /dev/loop/* ; do
if losetup $x $tmpfile 2> /dev/null ; then
tmpdev=$x ; break

+ 3
- 3
bin/sde-download

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: bin/sde-download
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -323,7 +323,7 @@ download_file() {
if [ "$altdir" ] ; then
altfile=$(find $altdir/ -name `basename $bzfile` | head -n 1)
else
altfile=""
altfile=
fi
#FIXME: compatibility, can be removed sooner or later...
@ -442,7 +442,7 @@ download_file_now() {
echo "INFO: Trying to resume previous download .."
resume="-C -"
else
resume=""
resume=
fi
[ -s download/translations.sed ] &&

+ 2
- 2
lib/core-functions.in

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: lib/core-functions.in
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -72,7 +72,7 @@ var_insert() {
var_remove() {
local a=${2//\/\\/}
local b=${3//\/\\/}
eval '[ "$'$1'" = "$3" ] && '$1'="" || true'
eval '[ "$'$1'" = "$3" ] && '$1'= || true'
eval $1'="${'$1'//$a$b$a/$2}"'
eval $1'="${'$1'%$a$b}"'
eval $1'="${'$1'#$b$a}"'

+ 10
- 10
lib/functions.in

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: lib/functions.in
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -357,7 +357,7 @@ postflist_static_lib() {
# Cleanup dependency_libs, remove build system path
local dependency_libs
local dlibsnew=""
local dlibsnew=
local dlibtmp deplib
local libsub=${libdir##*/}
for la in $defect_la; do
@ -689,7 +689,7 @@ create_package_db() {
v=-$(grep '^Package Name and Version' \
$1/packages/$pkg | cut -f6 -d' ')
else
v=""
v=
fi
bfile=${pkg}${v}.$SDECFG_PKGFILE_TYPE
@ -1045,7 +1045,7 @@ build_this_package() {
# ([D] tag compatible format)
#
source_file() {
local pre="" file="$2" url="$3" mirror="mirror"
local pre= file="$2" url="$3" mirror="mirror"
# '-' as $url prefix means, nomirrorable
[ "${url:0:1}" == "-" ] && mirror="local"
@ -1112,7 +1112,7 @@ populate_archdir()
#
detect_confdir()
{
confdir=""
confdir=
if [ -z "$pkgdir" ] ; then
for x in package/*/$pkg/$pkg.desc ; do
if [ -f "$x" ] ; then
@ -1166,7 +1166,7 @@ init_vars_and_hooks()
fi
makeinstopt="$makeopt"' install'
custmain=""
custmain=
buildloop=1 buildloops=1
[ "$SDECFG_DO_CHECK" = 1 ] && hook_add inmake 6 'run_check'
@ -1174,8 +1174,8 @@ init_vars_and_hooks()
createarchcache=0
configprefix=""; configcache="" ; autogen=0
configscript="./configure" ; extraconfopt=""
configprefix=; configcache= ; autogen=0
configscript="./configure" ; extraconfopt=
srcdir=auto ; srctar=auto
taropt="--use-compress-program=bzip2 -xf"
@ -1184,13 +1184,13 @@ init_vars_and_hooks()
runconf=1 ; runxmkmf=1 ; runmkpl=1 ; runpysetup=1 ; autopatch=1
autoextract=1 ; chownsrcdir=1 ; nocvsinsrcdir=1 ; cleanconfopt=1
patchopt="-bfp1 -z .orig"
createprefix=1 ; createdocs="" ; rmemptydir=""
createprefix=1 ; createdocs= ; rmemptydir=
check_shared=1
check_usrlocal=1
check_badfiles=1
badfiles="" badfiles_nr=0
badfiles= badfiles_nr=0
declare -a badfiles_desc
}

+ 3
- 3
lib/output/parse-config

@ -1,8 +1,8 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: misc/output/parse-config
# Copyright (C) 2006 The OpenSDE Project
# Filename: lib/output/parse-config
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -18,7 +18,7 @@
output_proc() {
columns=$1
plugins=""
plugins=
for x in $( ls lib/output ); do
if [ -f lib/output/$x/functions.sh ]; then
eval "y=\$SDECFG_OUTPUT_$( echo $x | tr a-z A-Z )"

+ 6
- 6
lib/parse-config

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: lib/parse-config
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -79,7 +79,7 @@ else
fi
fi
new_path=""
new_path=
for x in ${PATH//:/ }; do
if [ -d "$x" -a -z "${x##/*}" -a -n "${x##$base/*}" -a \
"$x" != "$CMD_WRAPPER_MYPATH" -a "$x" != "." ]; then
@ -110,14 +110,14 @@ export STRIP_WRAPPER_NOLOOP=0
export INSTALL_WRAPPER_MYPATH="$base/build/$SDECFG_ID/TOOLCHAIN/$toolsdir/wrapper"
export INSTALL_WRAPPER_LOGFILE="/dev/null"
export INSTALL_WRAPPER_FILTER=""
export INSTALL_WRAPPER_FILTER=
export INSTALL_WRAPPER_NOLOOP=0
export CMD_WRAPPER_MYPATH="$base/build/$SDECFG_ID/TOOLCHAIN/$toolsdir/wrapper"
export CMD_WRAPPER_LOGFILE="" CMD_WRAPPER_DEBUG=0 CMD_WRAPPER_BYPASS=0
export CMD_WRAPPER_LOGFILE= CMD_WRAPPER_DEBUG=0 CMD_WRAPPER_BYPASS=0
export CMD_WRAPPER_NOLOOP=0 ; unset CMD_WRAPPER_OTHERS_TMP
export UNAME_WRAPPER_LOGFILE=""
export UNAME_WRAPPER_LOGFILE=
if [ -f $base/build/$SDECFG_ID/TOOLCHAIN/$toolsdir/lib/wrapper-config ]
then . $base/build/$SDECFG_ID/TOOLCHAIN/$toolsdir/lib/wrapper-config ; fi
@ -127,7 +127,7 @@ then
if [ -f $base/build/$SDECFG_ID/TOOLCHAIN/$toolsdir/lib/parse-config-fixarch ]
then . $base/build/$SDECFG_ID/TOOLCHAIN/$toolsdir/lib/parse-config-fixarch ; fi
arch_build="$arch_target" ; archprefix=""
arch_build="$arch_target" ; archprefix=
else
arch_build="`/bin/uname -m | sed 's/ppc/powerpc/'`-nocross-linux-gnu"

+ 3
- 3
lib/sde-config/functions.in

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: lib/sde-config/functions.in
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -278,8 +278,8 @@ choice() {
eval $(
eval "value=\$$1" ; name=$1 ; dval=$defval; shift ; shift
while [ "$#" != 0 ] ; do
[ "$dval" = "$1" ] && dval=""
[ "$value" = "$1" ] && name="" ; shift ; shift
[ "$dval" = "$1" ] && dval=
[ "$value" = "$1" ] && name= ; shift ; shift
done
[ "$dval" ] && echo "unset defval;"
[ "$name" ] && echo "unset $name"

+ 2
- 2
lib/sde-package/new-freshmeat.sh

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: lib/sde-package/new-freshmeat.sh
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -48,7 +48,7 @@ get_download() {
read_fm_config() {
local fmname=$1
curl_options="" #--disable-epsv -#
curl_options= #--disable-epsv -#
if curl -s -f $resume $curl_options "http://freshmeat.net/projects-xml/$fmname/$fmname.xml" -o "$fmname.xml"; then
extract_xml_name project $fmname.xml projectname_full
extract_xml_name title $fmname.xml desc_short

+ 1
- 1
lib/sde-package/patch-copyright.sh

@ -60,7 +60,7 @@ if [ $# = 0 ]; then
set lib/. architecture/. misc/. package/. scripts/. target/.
else
# check if file or package name was given
files=""
files=
for i; do
if [ -f $i -o -d $i ]; then
files="$files ${i#./}"

+ 5
- 4
misc/archive/GenDepGraph.sh

@ -1,8 +1,9 @@
#!/bin/bash
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: misc/GenDepGraph.sh
# Filename: misc/archive/GenDepGraph.sh
# Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -11,7 +12,7 @@
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
# --- SDE-COPYRIGHT-NOTE-END ---
if [ -z "$1" ] ; then
cat 1>&2 <<-EOT
@ -28,7 +29,7 @@ fi
pattern=`mktemp`
result=`mktemp`
dscs="";
dscs=;
for p in $@ ; do
desc=`ls $p/*.cache 2> /dev/null | head -n 1`
if [ -r "$desc" ] ; then

+ 3
- 3
misc/archive/mklibs.sh

@ -96,9 +96,9 @@ version="$0 0.1, Copyright 1999 Marcus Brinkmann"
PATH=/bin:/usr/bin
default_src_path=/lib:/usr/lib
dest=""
exec=""
action=""
dest=
exec=
action=
verbose="false"
gcc=${GCC-gcc}

+ 8
- 8
scripts/Build-Pkg

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: scripts/Build-Pkg
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -21,23 +21,23 @@ buildstart="`date "+%m/%d/%Y from %T"`"
sderootdirs="scripts bin etc lib misc doc src package architecture target"
options=''
options=
config=default
clear_src=1
norebuild=0
update=0
make_tar=''
make_tar=
prefix="usr"
prefix_auto=1
pkgdir=""
pkgdir=
verbose=0
xtrace=0
debug=0
chroot=0
root=""
id=''
root=
id=
stagelevel=9
this_is_the_2nd_run=0
@ -342,7 +342,7 @@ if [ $this_is_the_2nd_run = 0 ] ; then
date '+%n[TIMESTAMP] %s %c'
[ -f $root/var/adm/logs/$stagelevel-$xpkg.err ] &&
x=" ERROR" || x=""
x=" ERROR" || x=
echo "[BUILDTIME] $buildtime ($stagelevel)$x"
@ -785,7 +785,7 @@ abort() {
# remove dependencies as requested by the package
# TODO: goups are not used yet (and it is not easy here)
del_pattern=""
del_pattern=
for x in `echo "$desc_E" | egrep '^del ' | sed 's/^del //' ` ; do
del_pattern="$del_pattern -e \".*: $x\$\""
done

+ 3
- 3
scripts/Build-Target

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: scripts/Build-Target
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -77,7 +77,7 @@ pkgloop() {
if [ "$SDECFG_NOBROKENDEPS" = 1 ]; then
nobrokendeps="-nobrokendeps"
else
nobrokendeps=""
nobrokendeps=
fi
if [ -z "$build_only_this_job" ]; then
@ -200,7 +200,7 @@ pkgloop_package() {
if [ "$pkg_prefix" != "/" ] ; then
cmd_prefix="-prefix $pkg_prefix"
else cmd_prefix="" ; fi
else cmd_prefix= ; fi
if [ "$autodownload" == 1 ]; then
./bin/sde-download -cfg $config $downloadopt $pkg_name

+ 10
- 10
scripts/Build-Tools

@ -103,7 +103,7 @@ if [ ! -f build/$SDECFG_ID/TOOLCHAIN/$toolsdir/.lastupdate ] ; then
# CC, CXX, F77 and KCC Wrapper
#
wrappers="cmd_wrapper" ; wrappervars=""
wrappers="cmd_wrapper" ; wrappervars=
echo_status "Building $toolsdir/wrapper/cmd_wrapper."
$BUILDCC -Wall -O2 src/tools-source/cmd_wrapper.c \
-DENVPREFIX='"CMD"' -DMYNAME='"cmd_wrapper"' \
@ -131,32 +131,32 @@ if [ ! -f build/$SDECFG_ID/TOOLCHAIN/$toolsdir/.lastupdate ] ; then
echo "export CMD_WRAPPER_BYPASS=1"
done
z=""; echo -n 'export CMD_WRAPPER_APPEND_PO="'
z=; echo -n 'export CMD_WRAPPER_APPEND_PO="'
for y in $x; do
echo -n "${z}\$${y}_WRAPPER_APPEND_PO"; z=" "
done ; echo '"'
z=""; echo -n 'export CMD_WRAPPER_OTHERS="'
z=; echo -n 'export CMD_WRAPPER_OTHERS="'
for y in $x; do
echo -n "${z}\$${y}_WRAPPER_OTHERS"; z=":"
done ; echo '"'
z=""; echo -n 'export CMD_WRAPPER_INSERT="'
z=; echo -n 'export CMD_WRAPPER_INSERT="'
for y in $x; do
echo -n "${z}\$${y}_WRAPPER_INSERT"; z=" "
done ; echo '"'
z=""; echo -n 'export CMD_WRAPPER_REMOVE="'
z=; echo -n 'export CMD_WRAPPER_REMOVE="'
for y in $x; do
echo -n "${z}\$${y}_WRAPPER_REMOVE"; z=" "
done ; echo '"'
z=""; echo -n 'export CMD_WRAPPER_APPEND="'
z=; echo -n 'export CMD_WRAPPER_APPEND="'
for y in $x; do
echo -n "${z}\$${y}_WRAPPER_APPEND"; z=" "
done ; echo '"'
z=""; echo -n 'export CMD_WRAPPER_FILTER="'
z=; echo -n 'export CMD_WRAPPER_FILTER="'
for y in $x; do
echo -n "${z}\$${y}_WRAPPER_FILTER"; z="|"
done ; echo '"'
@ -328,9 +328,9 @@ EOT
echo -e "${wrappervars// /\n}" | grep . | sort -u |
while read x ; do
echo "export ${x}_WRAPPER_DEBUG=0 ${x}_WRAPPER_BYPASS=0"
echo "export ${x}_WRAPPER_OTHERS='' ${x}_WRAPPER_REMOVE=''"
echo "export ${x}_WRAPPER_INSERT='' ${x}_WRAPPER_APPEND=''"
echo "export ${x}_WRAPPER_FILTER='' ${x}_WRAPPER_APPEND_PO=''"
echo "export ${x}_WRAPPER_OTHERS= ${x}_WRAPPER_REMOVE="
echo "export ${x}_WRAPPER_INSERT= ${x}_WRAPPER_APPEND="
echo "export ${x}_WRAPPER_FILTER= ${x}_WRAPPER_APPEND_PO="
done > build/$SDECFG_ID/TOOLCHAIN/$toolsdir/lib/wrapper-config.$$
mv build/$SDECFG_ID/TOOLCHAIN/$toolsdir/lib/wrapper-config.$$ \
build/$SDECFG_ID/TOOLCHAIN/$toolsdir/lib/wrapper-config

+ 2
- 2
scripts/Check-PkgFormat

@ -4,7 +4,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: scripts/Check-PkgFormat
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -38,7 +38,7 @@ if [ "$1" != "${1#-}" -o $# -eq 0 ] ; then
fi
for package ; do
lastpdir=""
lastpdir=
for pdir in package/*/$package ; do
[ -f $pdir/$package.desc ] || continue
[ "$lastpdir" ] && echo "$package: Found dup: $pdir $lastpdir"

+ 7
- 7
scripts/Config

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: scripts/Config
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -29,10 +29,10 @@ eval "$(egrep '^sdever=' lib/parse-config)"
config=default
do_config_cycle=0
delete_mode=0
oldconfig=''
nobashmod=''
cfgtmpdir=''
profile=""
oldconfig=
nobashmod=
cfgtmpdir=
profile=
show_usage() {
echo
@ -147,7 +147,7 @@ bprof main start
. lib/sde-config/functions.in
arch=`uname -m | uname2arch`
current="" ; export SDECFG_ARCH="$arch" ; export SDECFG_EXPERT=0
current= ; export SDECFG_ARCH="$arch" ; export SDECFG_EXPERT=0
menu_this=0 ; menu_current=0 ; menu_counter=0
menu_stack=x ; menu_back=-1 ; menu_backpos=-1
@ -171,7 +171,7 @@ bprof main start
rm -f $cfgtmpdir/config.{dialog,data,help}
touch $cfgtmpdir/config.{dialog,data,help}
echo -e "#\n# OpenSDE ($sdever) Config File\n#" > $cfgtmpdir/config/config
spacer="" ; expert=0 ; tabspace="5" ; tabspace_list=""
spacer= ; expert=0 ; tabspace="5" ; tabspace_list=
commentnr=0 ; editfilenr=0
bprof mkpkglist start

+ 2
- 2
scripts/Create-DescPatch

@ -4,7 +4,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: scripts/Create-DescPatch
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -30,7 +30,7 @@ if [ "$1" != "${1#-}" -o $# -eq 0 ] ; then
fi
for package ; do
lastpdir=""
lastpdir=
for pdir in package/*/$package ; do
[ "$lastpdir" ] && echo "$package: Found dup: $pdir $lastpdir"
lastpdir="$pdir"

+ 4
- 4
scripts/Create-Diff

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: scripts/Create-Diff
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -55,8 +55,8 @@ for x in $directories ; do
else
FLAGS="-duN"
name_for_diff="$x"
source_for_sed=""
target_for_sed=""
source_for_sed=
target_for_sed=
fi
diff -x CVS -x '.svn' -x '.git' -x '.#*' -x '*.mine' \
-x '*.r[1-9][0-9]*' $FLAGS "$olddir"/$name_for_diff \
@ -64,7 +64,7 @@ for x in $directories ; do
sed "s,^--- $olddir/$source_for_sed,--- ./$target_for_sed," | \
sed "s,^+++ $newdir/$source_for_sed,+++ ./$target_for_sed," | \
perl -pe '$fn=$1 if /^--- \.\/(\S+)\s/;
$_="" if $fn =~ /~$/'
$_= if $fn =~ /~$/'
done | perl -w `dirname $0`/patch-pp.pl "$newdir" >> /tmp/$$
if [ "$editor" = "" ]; then

+ 6
- 6
scripts/Create-ErrList

@ -26,11 +26,11 @@ fulldelete=0
newdelete=0
onlyupdated=0
repository=""
repository=
stages="[0123456789]"
copydir=""
movedir=""
logdir=""
copydir=
movedir=
logdir=
while [ "$1" ] ; do
case "$1" in
@ -56,7 +56,7 @@ while [ "$1" ] ; do
repository="$repository $1 " ; shift
done
else
shift ; shift ; repository=""
shift ; shift ; repository=
for x in $( ls package/ ) ; do
[ -d "package/$x" ] &&
repository="$repository $x"
@ -212,7 +212,7 @@ for stagelevel in $( echo "$stages" | tr -d '[]' | sed 's,.,& ,g' ) ; do
cut -f3 -d' ' | sort -u | wc -l )
d="$( printf " %3d" $d )"
else
d=""
d=
fi
echo "[$stagelevel]$d ${tree:0:13}/${pkg:0:18}"
else

+ 5
- 5
scripts/Create-ISO

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: scripts/Create-ISO
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -176,8 +176,8 @@ add() {
fi
}
bootoptions=""
scripts=""
bootoptions=
scripts=
while read tag data ; do
# empty lines
[ "$tag" ] || continue
@ -216,7 +216,7 @@ done < $dat
echo "$spacer parsing for DISK1 disk."
disk_nr=0 ; disks=""
disk_nr=0 ; disks=
while read type from to ; do
if [ "$type" = DISK1 ] ; then
add $from $to
@ -324,7 +324,7 @@ for x in $disks ; do
rm -f ${pathspec}_iso
rm -f ${pathspec}_current
bootoptions=""
bootoptions=
if [ "$scripts" ] ; then
echo "$spacer Running post-processing scripts on image ..."

+ 3
- 3
scripts/Create-Links

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: scripts/Create-Links
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -17,8 +17,8 @@
sderootdirs="scripts bin etc lib misc doc src package architecture target"
linkconfig=""
linkbuild=""
linkconfig=
linkbuild=
while [ "$1" ] ; do
case "$1" in

+ 3
- 3
scripts/Create-PkgQueue

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: scripts/Create-PkgQueue
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -16,7 +16,7 @@
# --- SDE-COPYRIGHT-NOTE-END ---
config=default
logdir=""
logdir=
single=0
debug=0
nobrokendeps=0
@ -163,7 +163,7 @@ function check_package() {
}
BEGIN {
not_present="";
not_present=;
stage0_not_present=0;
stage01_not_present=0;
stage9_no_deps=9;

+ 4
- 4
scripts/Emerge-Pkg

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: scripts/Emerge-Pkg
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -18,7 +18,7 @@ exec 2>&1
blacklist=" 00-dirtree binutils gcc glibc glibc32 uclibc linux24 linux26 linux-header "
options=''
options=
config=default
deps=fast
debug=0
@ -29,7 +29,7 @@ update=1
dryrun=0
force=0
rebuild=1
repositories=""
repositories=
system=0
depth=0
@ -112,7 +112,7 @@ add_if_updated()
fi
[ $verbose = 1 ] && echo -n "checking $package ..."
confdir=""
confdir=
for x in package/*/$package/$package.desc; do
if [ -f "$x" ]; then
if [ "$confdir" ]; then

+ 5
- 4
src/tools-source/install_wrapper.sh

@ -1,8 +1,9 @@
#!/bin/bash
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: misc/tools-source/install_wrapper.sh
# Filename: src/tools-source/install_wrapper.sh
# Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -11,7 +12,7 @@
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
# --- SDE-COPYRIGHT-NOTE-END ---
PATH="${PATH/:$INSTALL_WRAPPER_MYPATH:/:}"
PATH="${PATH#$INSTALL_WRAPPER_MYPATH:}"
@ -33,7 +34,7 @@ logfile="${INSTALL_WRAPPER_LOGFILE:-/dev/null}"
[ -z "${logfile##*/*}" -a ! -d "${logfile%/*}" ] && logfile=/dev/null
command="${0##*/}"
destination=""
destination=
declare -a sources
newcommand="$command"
sources_counter=0

+ 7
- 6
target/dreamcast/DreamBurn.sh

@ -1,8 +1,9 @@
#!/bin/bash
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: target/dreamcast/DreamBurn.sh
# Filename: target/dreamcast/DreamBurn.sh
# Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -11,7 +12,7 @@
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
# --- SDE-COPYRIGHT-NOTE-END ---
show_usage() {
cat <<EOT
@ -48,10 +49,10 @@ EOT
##### default values
cdrw=""
cdrw=
dev="0,0,0"
genopt=""
burnopt=""
genopt=
burnopt=
xa="-xa"
####################

+ 2
- 2
target/share/install/build_stage2.sh

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/share/install/build_stage2.sh
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -121,7 +121,7 @@ if [ $packager = bize ] ; then
fi
for x in $progs ; do
fn=""
fn=
[ -f ../2nd_stage/bin/$x ] && fn="bin/$x"
[ -f ../2nd_stage/sbin/$x ] && fn="sbin/$x"
[ -f ../2nd_stage/usr/bin/$x ] && fn="usr/bin/$x"

+ 2
- 2
target/share/livecd/build_image.sh

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/share/livecd/build_image.sh
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -53,7 +53,7 @@ var/adm/dep-debug
var/adm/cache" >> ../files-exclude
echo "Syncing root file-system (this may take some time) ..."
[ -e $imagelocation/bin ] && v="-v" || v=""
[ -e $imagelocation/bin ] && v="-v" || v=
time rsync -artH $v --delete --exclude-from ../files-exclude \
--exclude TOOLCHAIN --delete-excluded $build_root/ $imagelocation/
rm ../files-{wanted,all,exclude}

Loading…
Cancel
Save