From 19fdc54671bbbaa9ce26b63c7fe01079375ef60d Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Mon, 4 Feb 2008 19:53:00 -0300 Subject: [PATCH] Removed trailing spaces from bin/ ... without renewing the copyright note --- bin/find | 6 +++--- bin/sde | 10 +++++----- bin/sde-build | 6 +++--- bin/sde-check-system | 12 ++++++------ bin/sde-cleanup | 8 ++++---- bin/sde-cleanup-download | 6 +++--- bin/sde-cleanup-linger | 6 +++--- bin/sde-commit | 12 ++++++------ bin/sde-config | 6 +++--- bin/sde-config-ini | 6 +++--- bin/sde-copy | 6 +++--- bin/sde-create | 6 +++--- bin/sde-download | 36 ++++++++++++++++++------------------ bin/sde-download-get | 6 +++--- bin/sde-download-git | 6 +++--- bin/sde-download2 | 8 ++++---- bin/sde-export | 6 +++--- bin/sde-help | 6 +++--- bin/sde-import | 6 +++--- bin/sde-info | 6 +++--- bin/sde-install | 6 +++--- bin/sde-list | 6 +++--- bin/sde-list-changes | 10 +++++----- bin/sde-list-download | 6 +++--- bin/sde-list-files | 8 ++++---- bin/sde-list-pkg | 8 ++++---- bin/sde-package | 6 +++--- bin/sde-parse-md5 | 8 ++++---- bin/sde-patch-copyright | 6 +++--- bin/sde-switch | 6 +++--- bin/sde-update | 6 +++--- bin/sde-update-package | 6 +++--- bin/sde-update-tree | 8 ++++---- 33 files changed, 130 insertions(+), 130 deletions(-) diff --git a/bin/find b/bin/find index 4bbdd82..0063cb2 100755 --- a/bin/find +++ b/bin/find @@ -1,13 +1,13 @@ #!/bin/bash # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/find # 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. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde b/bin/sde index d21dc55..f13c5b7 100755 --- a/bin/sde +++ b/bin/sde @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde # Copyright (C) 2006 - 2008 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 @@ -32,7 +32,7 @@ echo_abort() { [ -n "$( type -p readlink )" ] || echo_abort 1 '`readlink` tool not found' -readlink -f /bin/sh 2>&1 > /dev/null +readlink -f /bin/sh 2>&1 > /dev/null [ $? -eq 0 ] || echo_abort 1 '`readlink` doesnt support -f, please update it.' @@ -51,7 +51,7 @@ fi # if [ ! -r "$SDEROOT/lib/libsde.in" ]; then SDEROOT="$( readlink -f "$0" )"; SDEROOT="${SDEROOT%/bin/sde}" - + [ -r "$SDEROOT/lib/libsde.in" ] || echo_abort 1 'SDEROOT not found.' fi diff --git a/bin/sde-build b/bin/sde-build index 811629d..7ea94b8 100755 --- a/bin/sde-build +++ b/bin/sde-build @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-build # Copyright (C) 2007 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde-check-system b/bin/sde-check-system index 0b02fc3..4681b51 100755 --- a/bin/sde-check-system +++ b/bin/sde-check-system @@ -1,14 +1,14 @@ #!/bin/bash # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-check-system # Copyright (C) 2006 - 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 @@ -34,7 +34,7 @@ if [ "`date '+%Y'`" -lt 1990 ] ; then cat <<-EOT Paranoia Check: Your clock is not set! Set you clock using the command: date MMDDhhmm[[CC]YY][.ss] - + EOT found_error=1 fi @@ -77,7 +77,7 @@ if [ -z "`type -p m4`" ] ; then EOT found_error=1 -fi +fi if [ -z "`type -p patch`" ] ; then cat <<-EOT @@ -176,7 +176,7 @@ if ! cat $x; then Device nodes can not be created or are not functional on the partition used for the build. Most probably the partitions is mounted with the 'nodev' option. - + EOT found_error=1 fi diff --git a/bin/sde-cleanup b/bin/sde-cleanup index 50b03ff..06715c0 100755 --- a/bin/sde-cleanup +++ b/bin/sde-cleanup @@ -1,21 +1,21 @@ #!/bin/bash # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-cleanup # Copyright (C) 2006 - 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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. # --- SDE-COPYRIGHT-NOTE-END --- -#Description: Cleanup the build environment +#Description: Cleanup the build environment #Alias: clean [ -n "$SDEROOT" ] || diff --git a/bin/sde-cleanup-download b/bin/sde-cleanup-download index 3fe21e9..44b22da 100755 --- a/bin/sde-cleanup-download +++ b/bin/sde-cleanup-download @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-cleanup-download # Copyright (C) 2007 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde-cleanup-linger b/bin/sde-cleanup-linger index 88dc5ab..f11a9b2 100755 --- a/bin/sde-cleanup-linger +++ b/bin/sde-cleanup-linger @@ -1,14 +1,14 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-cleanup-linger # Copyright (C) 2006 - 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde-commit b/bin/sde-commit index 127a326..10a2fda 100755 --- a/bin/sde-commit +++ b/bin/sde-commit @@ -1,13 +1,13 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-commit # 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. -# +# # This program is free software; you can redistribute it and/or modify # 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 @@ -125,10 +125,10 @@ $SDEROOT/bin/sde-list-changes -C "$SDEROOT/$root" --status $locations | ( while echo_warning "$file: has an unknown status ($status)" ;; esac - + fi done ) - + # and finally move to the root of the working tree cd "$SDEROOT/$root" @@ -176,7 +176,7 @@ if [ -s $tmpfile.diff -o -s $tmpfile.status ]; then echo_warning "\tEmpty Log File!" commit= fi - + echo -en "\n${COLOR_MESSAGE}Is the message ok?${COLOR_NORMAL}" echo -en " (${COLOR_MESSAGE}q${COLOR_NORMAL}:quit,${COLOR_MESSAGE}e${COLOR_NORMAL}:edit,${COLOR_MESSAGE}d${COLOR_NORMAL}:diff,${COLOR_MESSAGE}s${COLOR_NORMAL}:status$commit)${COLOR_MESSAGE}:${COLOR_NORMAL} " read opt diff --git a/bin/sde-config b/bin/sde-config index 5fe9358..4269f2d 100755 --- a/bin/sde-config +++ b/bin/sde-config @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-config # Copyright (C) 2007 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde-config-ini b/bin/sde-config-ini index e706caf..923fbb4 100755 --- a/bin/sde-config-ini +++ b/bin/sde-config-ini @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-config-ini # Copyright (C) 2006 - 2008 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde-copy b/bin/sde-copy index 390f454..4e68e4f 100755 --- a/bin/sde-copy +++ b/bin/sde-copy @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-copy # Copyright (C) 2007 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde-create b/bin/sde-create index 5b0cb2e..1f8a581 100755 --- a/bin/sde-create +++ b/bin/sde-create @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-create # Copyright (C) 2007 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde-download b/bin/sde-download index f1576fa..b1c1fa2 100755 --- a/bin/sde-download +++ b/bin/sde-download @@ -1,14 +1,14 @@ #!/bin/bash # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-download # Copyright (C) 2006 - 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 @@ -30,7 +30,7 @@ download_usage() { cat < [ Package(s) ] - sde download [ Desc file(s) ] + sde download [ Desc file(s) ] sde download -repository Repositories sde download [ -all | -required ] @@ -41,7 +41,7 @@ Usage: [ -copy ] [ -move ] On default, this script auto-detects the best OpenSDE mirror. - + Mirrors can also be a local directories in the form of 'file:///'. sde download [ -list | -list-missing | -list-cksums ] @@ -79,7 +79,7 @@ while [ $# -gt 0 ]; do case "$1" in -this_is_the_2nd_run) - this_is_the_2nd_run=1 + this_is_the_2nd_run=1 ;; -cfg) @@ -89,7 +89,7 @@ while [ $# -gt 0 ]; do -q) options="$options -q" verbose=0 ;; - + -nock) # -nock skips checksum checking (don't use lightly) options="$options -nock" @@ -148,7 +148,7 @@ while [ $# -gt 0 ]; do # also try to download questionable URLs options="$options -try-questionable" tryques=1 ;; - + -move) altcopy=move ;; -copy) altcopy=copy ;; @@ -175,7 +175,7 @@ if [ -n "$proxy" ]; then [ $this_is_the_2nd_run = 1 ] || echo_info "Using <$proxy> as ${proxyauth:+authenticated }http proxy." fi -#Disable checking for certificates on https downloads +#Disable checking for certificates on https downloads curl_options="$curl_options -k" # Autodetect best Mirror and safe url in $mirror @@ -317,7 +317,7 @@ download_file() { if [ ! -d `dirname "$bzfile"` ] ; then mkdir -p `dirname "$bzfile"` fi - + # Alternative Directory # if [ "$altdir" ] ; then @@ -357,7 +357,7 @@ download_file() { echo "INFO: download from mirror failed, trying original URL." download_file_now "$location" $gzfile $bzfile \ || downloaderror=1 - + else gzfile="$bzfile" fi @@ -414,7 +414,7 @@ download_file_now() { manual://*) # Determine if the file has already been downloaded # manually. For this we first look in $HOME then in - # download/manual. + # download/manual. downloadpath=${altdir:-$HOME} downloadfile="${gzfile##*/}" if [ -e $downloadpath/$downloadfile ]; then @@ -532,7 +532,7 @@ download_file_now() { module="${options%% *}" options="${options#* }" cmdline="cvs -z4 -Q -d $url co -P $options $module" - + # sometimes cvs wants to read ~/.cvspass just for fun .. touch $HOME/.cvspass ;; @@ -542,7 +542,7 @@ download_file_now() { else url="svn://$url" fi - + if [ "${options:0:1}" = "-" ]; then # the module is the last dir of $url module="${url##*/}" @@ -618,7 +618,7 @@ download_file_now() { } list_dtags() { - { + { grep -H '^\[D\] ' package/*/*/*.desc grep -H '^[X0-9]' target/*/download.txt 2> /dev/null | sed 's,:,:[D] ,' } | column_clean @@ -675,7 +675,7 @@ required() { done < config/$config/packages # NOTE: ROCKCFG -> SDECFG automatized convertion - grep -q 'ROCKCFG' ./config/$config/config && + grep -q 'ROCKCFG' ./config/$config/config && sed -i -e 's,ROCKCFG,SDECFG,g' ./config/$config/config target=`grep '^export SDECFG_TARGET=' config/$config/config | \ @@ -707,7 +707,7 @@ all() { done < <(grep -H '^\[D\] ' package/$repo/$pkg/$pkg.desc) done done - + for each in $( ls -1 target/*/download.txt 2> /dev/null ); do target="`echo $each | cut -f2 -d/`" @@ -775,7 +775,7 @@ packages() { done } -set +e +set +e # Things to do only for downloading # diff --git a/bin/sde-download-get b/bin/sde-download-get index fcc5571..2c41f93 100755 --- a/bin/sde-download-get +++ b/bin/sde-download-get @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-download-get # Copyright (C) 2007 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde-download-git b/bin/sde-download-git index 1049e15..c13d807 100755 --- a/bin/sde-download-git +++ b/bin/sde-download-git @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-download-git # Copyright (C) 2007 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde-download2 b/bin/sde-download2 index 1a62a99..11c8955 100755 --- a/bin/sde-download2 +++ b/bin/sde-download2 @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-download2 # Copyright (C) 2007 - 2008 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 @@ -245,7 +245,7 @@ esac | while read pkg cksum file location; do echo_info "$pkg:${file##*/} is correct." fi fi - + # and finally accept the file # if [ -s "$tmpfile" ]; then diff --git a/bin/sde-export b/bin/sde-export index 4e713bb..10d47fe 100755 --- a/bin/sde-export +++ b/bin/sde-export @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-export # Copyright (C) 2007 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde-help b/bin/sde-help index 3757e13..cf1a33f 100755 --- a/bin/sde-help +++ b/bin/sde-help @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-help # Copyright (C) 2006 - 2008 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde-import b/bin/sde-import index 115f7f6..834a57f 100755 --- a/bin/sde-import +++ b/bin/sde-import @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-import # Copyright (C) 2007 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde-info b/bin/sde-info index 1ea88d8..5c743e9 100755 --- a/bin/sde-info +++ b/bin/sde-info @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-info # Copyright (C) 2007 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde-install b/bin/sde-install index 070f50d..152bf85 100755 --- a/bin/sde-install +++ b/bin/sde-install @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-install # Copyright (C) 2006 - 2008 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde-list b/bin/sde-list index 1a08ccd..03c6647 100755 --- a/bin/sde-list +++ b/bin/sde-list @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-list # Copyright (C) 2007 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde-list-changes b/bin/sde-list-changes index 23c1b94..0245bf5 100755 --- a/bin/sde-list-changes +++ b/bin/sde-list-changes @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-list-changes # Copyright (C) 2007 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 @@ -81,7 +81,7 @@ if [ -d '.git' ]; then else echo "$f" fi - done + done # wait for git-diff-index wait @@ -111,7 +111,7 @@ elif [ -d '.svn' ]; then # only the filename is wanted, but when the change is interesting echo "$f" fi - done + done else print_error "$root: Invalid Version Control System." fi diff --git a/bin/sde-list-download b/bin/sde-list-download index 97f4075..6dcad21 100755 --- a/bin/sde-list-download +++ b/bin/sde-list-download @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-list-download # Copyright (C) 2007 - 2008 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde-list-files b/bin/sde-list-files index 08b724f..19126e9 100755 --- a/bin/sde-list-files +++ b/bin/sde-list-files @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-list-files # Copyright (C) 2007 - 2008 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 @@ -75,7 +75,7 @@ print_file_root() { if [ "$root" = "." -a -n "$show_absolute_path" ]; then root="$SDEROOT" fi - + echo "$root $file" } diff --git a/bin/sde-list-pkg b/bin/sde-list-pkg index 5b5a77e..60b14e5 100755 --- a/bin/sde-list-pkg +++ b/bin/sde-list-pkg @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-list-pkg # Copyright (C) 2007 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 @@ -61,7 +61,7 @@ list_desc_extenders() { if [ -z "$config" ]; then for repo in $( cd "$SDEROOT/package"; ls -1d * 2> /dev/null ); do - ( cd "$SDEROOT"; eval ls -1d package/$repo/*/pkg_${pattern}_{pre,post}.conf 2> /dev/null | cut -d/ -f-3 | sort -u ) + ( cd "$SDEROOT"; eval ls -1d package/$repo/*/pkg_${pattern}_{pre,post}.conf 2> /dev/null | cut -d/ -f-3 | sort -u ) done | while read confdir; do pkg=${confdir##*/} echo $confdir/$pkg.desc diff --git a/bin/sde-package b/bin/sde-package index f81d64b..cb40f51 100755 --- a/bin/sde-package +++ b/bin/sde-package @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-package # Copyright (C) 2006 - 2008 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde-parse-md5 b/bin/sde-parse-md5 index b4bf137..2e8a3a5 100755 --- a/bin/sde-parse-md5 +++ b/bin/sde-parse-md5 @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-parse-md5 # Copyright (C) 2007 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 @@ -67,7 +67,7 @@ for md5; do fi case "$pkg" in - exo) + exo) pkg=lib${pkg} ;; gtk-xfce-engine) pkg=${pkg}2 ;; diff --git a/bin/sde-patch-copyright b/bin/sde-patch-copyright index 1a3d3ae..5e0edd4 100755 --- a/bin/sde-patch-copyright +++ b/bin/sde-patch-copyright @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-patch-copyright # Copyright (C) 2007 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde-switch b/bin/sde-switch index e4d3c13..7697f1f 100755 --- a/bin/sde-switch +++ b/bin/sde-switch @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-switch # Copyright (C) 2007 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde-update b/bin/sde-update index 8b02cd7..28a2248 100755 --- a/bin/sde-update +++ b/bin/sde-update @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-update # Copyright (C) 2007 - 2008 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde-update-package b/bin/sde-update-package index 3c010fb..f622fb7 100755 --- a/bin/sde-update-package +++ b/bin/sde-update-package @@ -1,12 +1,12 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-update-package # Copyright (C) 2006 - 2008 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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 diff --git a/bin/sde-update-tree b/bin/sde-update-tree index 892591c..cc17996 100755 --- a/bin/sde-update-tree +++ b/bin/sde-update-tree @@ -1,19 +1,19 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: bin/sde-update-tree # Copyright (C) 2007 - 2008 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # 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. # --- SDE-COPYRIGHT-NOTE-END --- -#Description: Updates the entire working tree +#Description: Updates the entire working tree [ -n "$SDEROOT" ] || export SDEROOT=$( cd "${0%/*}/.."; pwd -P ) -- 2.11.4.GIT