diff --git a/archiver/bize/bize.sh b/archiver/bize/bize.sh index be3115489..e8c54b212 100644 --- a/archiver/bize/bize.sh +++ b/archiver/bize/bize.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: package/.../bize/bize.sh +# Filename: package/.../bize/bize.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 --- bize_usage() { @@ -126,7 +127,7 @@ bize_main() -i) install=1 ;; -r) remove=1 ;; -t) test=echo ;; - -f) keep="" ;; + -f) keep= ;; -v) verbose=v ; voption=-v ;; -R) shift ; root="$1" ;; -R*) root="${1#-R}" ;; diff --git a/base/gpm/stone_mod_gpm.sh b/base/gpm/stone_mod_gpm.sh index 3a1517225..b74081501 100644 --- a/base/gpm/stone_mod_gpm.sh +++ b/base/gpm/stone_mod_gpm.sh @@ -1,7 +1,8 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../gpm/stone_mod_gpm.sh +# Filename: package/.../gpm/stone_mod_gpm.sh +# Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -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 --- # # [MAIN] 40 gpm General Purpose Mouse (GPM) Daemon @@ -65,7 +66,7 @@ main() { GPM_MOUSE="/dev/misc/psaux" ; GPM_ARGS="-t ms -2" [ -f /etc/conf/gpm ] && . /etc/conf/gpm - set -- $GPM_ARGS ; GPM_ARGS="" + set -- $GPM_ARGS ; GPM_ARGS= while [ "$1" ] ; do if [ "$1" = "-t" ] ; then GPM_TYPE="$2" ; shift diff --git a/base/linux26/linux-conf.in b/base/linux26/linux-conf.in index 3d9c279ba..720e7c208 100644 --- a/base/linux26/linux-conf.in +++ b/base/linux26/linux-conf.in @@ -1,8 +1,8 @@ # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# Filename: package/.../linux24/linux-conf.in -# Copyright (C) 2006 The OpenSDE Project +# Filename: package/.../linux26/linux-conf.in +# Copyright (C) 2006 - 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -19,8 +19,8 @@ treever=${pkg/linux/} ; treever=${treever/-*/} [ "$lx_cpu" ] || # powerpc and mips share the same arch for 32/64, maybe more follow lx_cpu=`echo $arch | arch2uname | sed -e s/ppc.*/powerpc/ -e s/mips64/mips/` -lx_extraversion="" -lx_kernelrelease="" +lx_extraversion= +lx_kernelrelease= lx_customconf="\$base/config/$config/linux.cfg" # inject a possible pre-/ post-release patch @@ -28,7 +28,7 @@ lx_customconf="\$base/config/$config/linux.cfg" var_insert patchfiles " " "`match_source_file patch-.* | grep -v '\.tar\.'`" #makeopt=`echo $makeopt | sed -n 's/.*\(-j[^ ]*\).*/\1/p'` -makeopt="" +makeopt= # we need +1 to really saturate the CPUs during the kernel build [ $SDECFG_PARALLEL_MAX -gt 1 ] && var_append makeopt ' ' -j$(( $SDECFG_PARALLEL_MAX + 1 )) diff --git a/base/mkinitrd/mkinitrd.sh b/base/mkinitrd/mkinitrd.sh index c11c3009c..ea623c274 100644 --- a/base/mkinitrd/mkinitrd.sh +++ b/base/mkinitrd/mkinitrd.sh @@ -3,7 +3,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../mkinitrd/mkinitrd.sh -# Copyright (C) 2006 - 2007 The OpenSDE Project +# Copyright (C) 2006 - 2008 The OpenSDE Project # Copyright (C) 2005 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -32,7 +32,7 @@ while [ "$1" ]; do shift done -[ "$root" ] || root="" +[ "$root" ] || root= [ "$kernelver" ] || kernelver=`uname -r` [ "$moddir" ] || moddir="${root}/lib/modules/$kernelver" @@ -43,7 +43,7 @@ if [ ! -d $moddir ]; then exit 2 fi -sysmap="" +sysmap= [ -f "${root}/boot/System.map_$kernelver" ] && sysmap="${root}/boot/System.map_$kernelver" if [ -z "$sysmap" ]; then diff --git a/base/runit/parse-config b/base/runit/parse-config index 86381f490..eefafbaa4 100644 --- a/base/runit/parse-config +++ b/base/runit/parse-config @@ -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: package/.../runit/parse-config +# Filename: package/.../runit/parse-config +# Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -12,7 +13,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 --- # # prepare root links for DJB filesystem hierarchy inside chrooted env. @@ -24,10 +25,10 @@ if [ "$SDECFG_PKG_DJB_LAYOUT" == "1" ]; then done #pkg_djb_compatdir="usr/local/bin" elif [ "$SDECFG_PKG_DJB_LAYOUT" == "0" ]; then - pkg_djb_packagedir="" - pkg_djb_commanddir="" + pkg_djb_packagedir= + pkg_djb_commanddir= pkg_djb_servicedir="var/service" - #pkg_djb_compatdir="" + #pkg_djb_compatdir= fi # package diff --git a/base/sde-debug/test_rootfsbin.sh b/base/sde-debug/test_rootfsbin.sh index 64243af57..28bfde6ef 100644 --- a/base/sde-debug/test_rootfsbin.sh +++ b/base/sde-debug/test_rootfsbin.sh @@ -3,7 +3,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../sde-debug/test_rootfsbin.sh -# Copyright (C) 2007 The OpenSDE Project +# Copyright (C) 2007 - 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -37,7 +37,7 @@ sbin_rock='devfsd' for mode in bin sbin ; do for bin in `eval "echo \\$${mode}_fhs \\$${mode}_rock"` ; do - found_dir="" + found_dir= for dir in {,/usr,/usr/local}/{,s}bin /usr/{local/,}games ; do [ -f $dir/$bin ] && found_dir=$dir done diff --git a/base/stone/stone_gui_dialog.sh b/base/stone/stone_gui_dialog.sh index be3f613bd..6e8832a09 100644 --- a/base/stone/stone_gui_dialog.sh +++ b/base/stone/stone_gui_dialog.sh @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../stone/stone_gui_dialog.sh -# Copyright (C) 2007 The OpenSDE Project +# Copyright (C) 2007 - 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -57,7 +57,7 @@ gui_menu() { # lines to compute the size of a widget. local id="$1" title="$( echo "$2" | fmt -$gui_dialog_s62 )" local y_text=$( echo "$title" | wc -l ) y_menu=$(( ($#-2) / 2 )) - local nr=1 x="'" y choosen='' ; shift 2 + local nr=1 x="'" y choosen= ; shift 2 [ $(( $y_text + $y_menu )) -gt $gui_dialog_s15 ] && \ y_menu=$(( gui_dialog_s15 - y_text )) @@ -69,7 +69,7 @@ gui_menu() { # In case of having been in the current menu before (found out by # checking the current ID for the ones saved in `gui_menu_tree_name[]'), # make the old item be cursored again. - local default='' count + local default= count for (( count=$gui_menu_tree_id; $count >= 0; count-- )) do if [ "${gui_menu_tree_name[$count]}" = $id ] ; then diff --git a/base/stone/stone_mod_gas.sh b/base/stone/stone_mod_gas.sh index 609876bdd..c84c564d8 100644 --- a/base/stone/stone_mod_gas.sh +++ b/base/stone/stone_mod_gas.sh @@ -1,7 +1,8 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../stone/stone_mod_gas.sh +# Filename: package/.../stone/stone_mod_gas.sh +# Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -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 --- select_packages() { local namever installed uninstalled @@ -21,8 +22,8 @@ select_packages() { Note: any (un)installations are done immediately'" - installed="" - uninstalled="" + installed= + uninstalled= for (( i=${#pkgs[@]} - 1; i >= 0; i-- )) ; do if echo "${cats[$i]}" | grep -q -F "$5" ; then namever="${pkgs[$i]}-${vers[$i]}" diff --git a/base/stone/stone_mod_hardware.sh b/base/stone/stone_mod_hardware.sh index ac660bbbf..2f99adcb0 100644 --- a/base/stone/stone_mod_hardware.sh +++ b/base/stone/stone_mod_hardware.sh @@ -1,7 +1,8 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../stone/stone_mod_hardware.sh +# Filename: package/.../stone/stone_mod_hardware.sh +# Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -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 --- # # [MAIN] 20 hardware Kernel Drivers and Hardware Configuration @@ -55,7 +56,7 @@ add_hw_config() { 1|2) cmd="$cmd 'flip_hw_config \"$id\"'" ;; *) cmd="$cmd 'true'" ;; esac - id="" + id= } store_clock() { @@ -138,7 +139,7 @@ main() { cmd="$cmd 'gui_cmd mkinitrd mkinitrd' '' ''" hwscan -d -s /etc/conf/kernel - id="" + id= while read line; do if [ "${line#\#\#\# }" != "${line}" -a \ "${line% \#\#\#}" != "${line}" ] diff --git a/base/stone/stone_mod_network.sh b/base/stone/stone_mod_network.sh index d593a0af9..f546fdcbe 100644 --- a/base/stone/stone_mod_network.sh +++ b/base/stone/stone_mod_network.sh @@ -1,7 +1,8 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../stone/stone_mod_network.sh +# Filename: package/.../stone/stone_mod_network.sh +# Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -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 --- # # [MAIN] 20 network Network Configuration @@ -139,7 +140,7 @@ add_tag() { cmd="$cmd "$module" module='$module'" done < <( cd $rocknet_base/ ; grep public_ * | sed -e \ 's/\.sh//' -e 's/:.*//' | sort -u ) - module="" + module= eval $cmd cmd="gui_menu add_tag 'Add tag of type'" @@ -263,7 +264,7 @@ DOMAINNAME="`hostname -d 2> /dev/null`" tmp="`mktemp`" grep '^nameserver ' /etc/resolv.conf | tr '\t' ' ' | tr -s ' ' | \ sed 's,^nameserver *\([^ ]*\),DNSSRV="$DNSSRV \1",' > $tmp -DNSSRV='' ; . $tmp ; DNSSRV="`echo $DNSSRV`" +DNSSRV= ; . $tmp ; DNSSRV="`echo $DNSSRV`" [ -z "$DNSSRV" ] && DNSSRV="none" ; rm -f $tmp main() { diff --git a/base/stone/stone_mod_packages.sh b/base/stone/stone_mod_packages.sh index 357c6be01..07a81bb93 100644 --- a/base/stone/stone_mod_packages.sh +++ b/base/stone/stone_mod_packages.sh @@ -1,7 +1,8 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../stone/stone_mod_packages.sh +# Filename: package/.../stone/stone_mod_packages.sh +# Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -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 --- # # [MAIN] 90 packages Package Management (Install, Update and Remove) @@ -32,7 +33,7 @@ elif [ -n "$ROCK_INSTALL_SOURCE_URL" ] ; then else dev="/dev/cdrom" dir="/mnt/cdrom" ; root="/" - gasguiopt="" + gasguiopt= SDECFG_SHORTID="$( grep '^export SDECFG_SHORTID=' \ /etc/SDE-CONFIG/config 2> /dev/null | cut -f2- -d= )" diff --git a/base/stone/stone_mod_runlevel.sh b/base/stone/stone_mod_runlevel.sh index 912001f4e..652e73153 100644 --- a/base/stone/stone_mod_runlevel.sh +++ b/base/stone/stone_mod_runlevel.sh @@ -1,7 +1,8 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../stone/stone_mod_runlevel.sh +# Filename: package/.../stone/stone_mod_runlevel.sh +# Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -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 --- # # [MAIN] 80 runlevel Runlevel Configuration (Services) @@ -58,7 +59,7 @@ chpri() { } edit_srv() { - local srv=$1 id="runlevel_$RANDOM" cmd="" + local srv=$1 id="runlevel_$RANDOM" cmd= while cmd="gui_menu $id 'Runlevel Editor - $srv'" @@ -104,7 +105,7 @@ main() { 2> /dev/null | cut -c18-19 | head -n 1` [ -z "$pri" ] && pri=99 - rlv='' + rlv= for x in 1 2 3 4 5 ; do if [ -e /etc/rc.d/rc$x.d/S??$srv ] then rlv="${rlv}$x" ; else rlv="${rlv}-" ; fi diff --git a/dictionary/dictd/stone_mod_dictd.sh b/dictionary/dictd/stone_mod_dictd.sh index 5ded2608e..fa5c89da1 100644 --- a/dictionary/dictd/stone_mod_dictd.sh +++ b/dictionary/dictd/stone_mod_dictd.sh @@ -1,7 +1,8 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../dictd/stone_mod_dictd.sh +# Filename: package/.../dictd/stone_mod_dictd.sh +# Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2004 Clifford Wolf # @@ -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 --- # # @@ -21,7 +22,7 @@ conf=/etc/dictd.conf list_dictionaries () { - ds="" + ds= for i in $( ls /usr/share/dictd/*.index ) do ds="$ds `basename $i .index`" diff --git a/java/blackdown-jre/java-blackdown-conf.in b/java/blackdown-jre/java-blackdown-conf.in index 556ce967d..3912825d5 100644 --- a/java/blackdown-jre/java-blackdown-conf.in +++ b/java/blackdown-jre/java-blackdown-conf.in @@ -29,7 +29,7 @@ makeinstopt= # and doc directory are created at the proper level. . $base/package/*/*/java-jdk-conf.in $1 -java_install_opt="" +java_install_opt= java_home_original= # Check if installing needs to be done with or without X11. diff --git a/multimedia/vdr/config.in b/multimedia/vdr/config.in index a9373504a..7d5b7b651 100644 --- a/multimedia/vdr/config.in +++ b/multimedia/vdr/config.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: package/.../vdr/config.in +# Filename: package/.../vdr/config.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,7 +11,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 pkgcheck vdr X then @@ -23,7 +24,7 @@ then bool 'Enable plugin graphlcd' SDECFG_PKG_VDR_GRAPHLCD 0 [ $SDECFG_PKG_VDR_GRAPHLCD -ne 0 ] && { - list="" + list= for item in none HD61830 KS0108 T6963 SED1520 SED1330 GU140X32F-7806 GU256X64-372 GU256X64-3900 serdisplib framebuffer image ; do list="$list $item $item" done @@ -32,7 +33,7 @@ then bool 'Enable plugin text2skin' SDECFG_PKG_VDR_TEXT2SKIN 1 [ $SDECFG_PKG_VDR_TEXT2SKIN -ne 0 ] && { - list="" + list= for item in none Deeplue Lightblue Enigma ; do list="$list $item $item" done diff --git a/network/apache/config.in b/network/apache/config.in index b72ac7cc4..f4f84ccb1 100644 --- a/network/apache/config.in +++ b/network/apache/config.in @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../apache/config.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 - 2004 Clifford Wolf # @@ -21,7 +21,7 @@ then SDECFG_PKG_APACHE_PREFIX "opt/apache" pkgout - list="" ; default="" + list= ; default= while read pkg ver ; do if [ "$pkg" = "bdb42" ] ; then default="$pkg" diff --git a/network/iptables/rocknet_iptables.sh b/network/iptables/rocknet_iptables.sh index d3f92a8eb..508ecda6a 100644 --- a/network/iptables/rocknet_iptables.sh +++ b/network/iptables/rocknet_iptables.sh @@ -1,7 +1,8 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../iptables/rocknet_iptables.sh +# Filename: package/.../iptables/rocknet_iptables.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. @@ -10,7 +11,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 --- iptables_init_if() { if isfirst "iptables_$if"; then @@ -43,7 +44,7 @@ iptables_init_if() { } iptables_parse_conditions() { - iptables_cond="" + iptables_cond= while [ -n "$1" ] do case "$1" in diff --git a/network/rocknet/ifup.sh b/network/rocknet/ifup.sh index 8212d0217..5055c304c 100644 --- a/network/rocknet/ifup.sh +++ b/network/rocknet/ifup.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: package/.../rocknet/ifup.sh +# Filename: package/.../rocknet/ifup.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 --- rocknet_tmp_base="/var/run/rocknet" [ -d $rocknet_tmp_base ] || mkdir -p $rocknet_tmp_base @@ -31,7 +32,7 @@ usage() { force=0 if="$1" ; shift ; [ "$if" ] || usage -profile="" +profile= action="${0/#*\/if}" while [ "$1" ] ; do diff --git a/powerpc/yaboot/stone_mod_yaboot.sh b/powerpc/yaboot/stone_mod_yaboot.sh index aa64e4299..043d9b3fa 100644 --- a/powerpc/yaboot/stone_mod_yaboot.sh +++ b/powerpc/yaboot/stone_mod_yaboot.sh @@ -1,7 +1,8 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../yaboot/stone_mod_yaboot.sh +# Filename: package/.../yaboot/stone_mod_yaboot.sh +# Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -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 --- # # [MAIN] 70 yaboot Yaboot Boot Loader Setup # [SETUP] 90 yaboot @@ -138,10 +139,10 @@ main() { [ "$macosxpart" ] && macosxdev="$dev$macosxpart" if [ "$rootdev" = "$bootdev" ] - then bootpath=/boot ; else bootpath="" ; fi + then bootpath=/boot ; else bootpath= ; fi if [ "$rootdev" = "$yabootdev" ] - then yabootpath=/usr ; else yabootpath="" ; fi + then yabootpath=/usr ; else yabootpath= ; fi yabootpart="`echo $yabootdev | sed 's/[^0-9]*//'`" if [ ! -f /etc/yaboot.conf ] ; then diff --git a/sparc/silo/stone_mod_silo.sh b/sparc/silo/stone_mod_silo.sh index 87dbe85a6..710af9970 100644 --- a/sparc/silo/stone_mod_silo.sh +++ b/sparc/silo/stone_mod_silo.sh @@ -1,7 +1,8 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../silo/stone_mod_silo.sh +# Filename: package/.../silo/stone_mod_silo.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. @@ -10,7 +11,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 --- # # [MAIN] 70 silo SILO Boot Loader Setup # [SETUP] 90 silo @@ -87,7 +88,7 @@ main() { bootdev="`device4 /boot`" if [ "$rootdev" = "$bootdev" ] - then bootpath=/boot ; else bootpath="" ; fi + then bootpath=/boot ; else bootpath= ; fi if [ ! -f /etc/silo.conf ] ; then if gui_yesno "SILO does not appear to be configured. diff --git a/x86/cpuburn/cpuburn.sh b/x86/cpuburn/cpuburn.sh index 5b36a6d74..ee72ee457 100644 --- a/x86/cpuburn/cpuburn.sh +++ b/x86/cpuburn/cpuburn.sh @@ -1,9 +1,10 @@ #!/bin/sh # -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../cpuburn/cpuburn.sh +# Filename: package/.../cpuburn/cpuburn.sh +# Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -13,10 +14,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 --- errors=`mktemp -t cpuburn.XXXX` -start=`date "+%s"` ; command="" ; jobs=1 +start=`date "+%s"` ; command= ; jobs=1 help() { cat << 'EOT' diff --git a/x86/grub/stone_mod_grub.sh b/x86/grub/stone_mod_grub.sh index eea7bde64..2e610a1d9 100644 --- a/x86/grub/stone_mod_grub.sh +++ b/x86/grub/stone_mod_grub.sh @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../grub/stone_mod_grub.sh -# 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 # @@ -147,7 +147,7 @@ main() { fi if [ "$rootdev" = "$bootdev" ] - then bootpath="/boot" ; else bootpath="" ; fi + then bootpath="/boot" ; else bootpath= ; fi if [ ! -f /boot/grub/menu.lst ] ; then if gui_yesno "GRUB does not appear to be configured. diff --git a/xorg/xorg-server/stone_mod_xorg.sh b/xorg/xorg-server/stone_mod_xorg.sh index bc7228d40..3fed2c8e4 100644 --- a/xorg/xorg-server/stone_mod_xorg.sh +++ b/xorg/xorg-server/stone_mod_xorg.sh @@ -1,7 +1,8 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../xorg-server/stone_mod_xorg.sh +# Filename: package/.../xorg-server/stone_mod_xorg.sh +# Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2004 Clifford Wolf # @@ -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 --- # # [MAIN] 50 xorg X11 Configuration @@ -25,12 +26,12 @@ set_xdm() { main() { while - WINDOWMANAGER="" + WINDOWMANAGER= if [ -f /etc/profile.d/windowmanager ]; then . /etc/profile.d/windowmanager fi - XDM="" + XDM= if [ -f /etc/conf/xdm ]; then . /etc/conf/xdm fi diff --git a/xorg/xorg-server/xcfgt2.sh b/xorg/xorg-server/xcfgt2.sh index dbb2662a4..23ce66bb3 100644 --- a/xorg/xorg-server/xcfgt2.sh +++ b/xorg/xorg-server/xcfgt2.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: package/.../xorg-server/xcfgt2.sh +# Filename: package/.../xorg-server/xcfgt2.sh +# Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2005-2006 The T2 SDE Project # Copyright (C) 2005-2006 Rene Rebe # @@ -12,7 +13,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 --- # Quick T2 live X driver matching ... @@ -92,9 +93,9 @@ fi echo "X Driver: $xdrv" -horiz_sync="" -vert_refresh="" -modes="" +horiz_sync= +vert_refresh= +modes= if [[ `uname -m` = i*86 ]]; then ddcprobe > $tmp diff --git a/xorg/xorg-server/xvfb-run.sh b/xorg/xorg-server/xvfb-run.sh index 9b4efe368..72f627270 100644 --- a/xorg/xorg-server/xvfb-run.sh +++ b/xorg/xorg-server/xvfb-run.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: package/.../xorg-server/xvfb-run.sh +# Filename: package/.../xorg-server/xvfb-run.sh +# Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2005 - 2006 The T2 SDE Project # Copyright (C) XXXX - 2005 Debian # @@ -12,7 +13,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 --- # $Id: xvfb-run 2166 2005-01-27 07:54:19Z branden $ # from: http://necrotic.deadbeast.net/xsf/XFree86/trunk/debian/local/xvfb-run @@ -116,7 +117,7 @@ while :; do -f|--auth-file) AUTHFILE="$2"; shift ;; -h|--help) SHOWHELP="yes" ;; -n|--server-num) SERVERNUM="$2"; shift ;; - -l|--listen-tcp) LISTENTCP="" ;; + -l|--listen-tcp) LISTENTCP= ;; -p|--xauth-protocol) XAUTHPROTO="$2"; shift ;; -s|--server-args) XVFBARGS="$2"; shift ;; -w|--wait) STARTWAIT="$2"; shift ;; diff --git a/zope/zope/zope-conf.in b/zope/zope/zope-conf.in index 9928963ac..4962c30c9 100644 --- a/zope/zope/zope-conf.in +++ b/zope/zope/zope-conf.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: package/.../zope/zope-conf.in +# Filename: package/.../zope/zope-conf.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,7 +11,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 --- # Function for installing Zope Products prepare_product() { @@ -48,8 +49,8 @@ install_product() { } createdocs="0" -makeopt="" -makeinstopt="" +makeopt= +makeinstopt= hook_add postpatch 5 "prepare_product" hook_add postmake 5 "install_product"