Browse Source

Removed trailing spaces from bin/ ... without renewing the copyright note

karasz/new-early
Alejandro Mery 18 years ago
parent
commit
19fdc54671
33 changed files with 130 additions and 130 deletions
  1. +3
    -3
      bin/find
  2. +5
    -5
      bin/sde
  3. +3
    -3
      bin/sde-build
  4. +6
    -6
      bin/sde-check-system
  5. +4
    -4
      bin/sde-cleanup
  6. +3
    -3
      bin/sde-cleanup-download
  7. +3
    -3
      bin/sde-cleanup-linger
  8. +6
    -6
      bin/sde-commit
  9. +3
    -3
      bin/sde-config
  10. +3
    -3
      bin/sde-config-ini
  11. +3
    -3
      bin/sde-copy
  12. +3
    -3
      bin/sde-create
  13. +18
    -18
      bin/sde-download
  14. +3
    -3
      bin/sde-download-get
  15. +3
    -3
      bin/sde-download-git
  16. +4
    -4
      bin/sde-download2
  17. +3
    -3
      bin/sde-export
  18. +3
    -3
      bin/sde-help
  19. +3
    -3
      bin/sde-import
  20. +3
    -3
      bin/sde-info
  21. +3
    -3
      bin/sde-install
  22. +3
    -3
      bin/sde-list
  23. +5
    -5
      bin/sde-list-changes
  24. +3
    -3
      bin/sde-list-download
  25. +4
    -4
      bin/sde-list-files
  26. +4
    -4
      bin/sde-list-pkg
  27. +3
    -3
      bin/sde-package
  28. +4
    -4
      bin/sde-parse-md5
  29. +3
    -3
      bin/sde-patch-copyright
  30. +3
    -3
      bin/sde-switch
  31. +3
    -3
      bin/sde-update
  32. +3
    -3
      bin/sde-update-package
  33. +4
    -4
      bin/sde-update-tree

+ 3
- 3
bin/find

@ -1,13 +1,13 @@
#!/bin/bash #!/bin/bash
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/find # Filename: bin/find
# Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 5
- 5
bin/sde

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde # Filename: bin/sde
# Copyright (C) 2006 - 2008 The OpenSDE Project # Copyright (C) 2006 - 2008 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the
@ -32,7 +32,7 @@ echo_abort() {
[ -n "$( type -p readlink )" ] || [ -n "$( type -p readlink )" ] ||
echo_abort 1 '`readlink` tool not found' 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 ] || [ $? -eq 0 ] ||
echo_abort 1 '`readlink` doesnt support -f, please update it.' echo_abort 1 '`readlink` doesnt support -f, please update it.'
@ -51,7 +51,7 @@ fi
# #
if [ ! -r "$SDEROOT/lib/libsde.in" ]; then if [ ! -r "$SDEROOT/lib/libsde.in" ]; then
SDEROOT="$( readlink -f "$0" )"; SDEROOT="${SDEROOT%/bin/sde}" SDEROOT="$( readlink -f "$0" )"; SDEROOT="${SDEROOT%/bin/sde}"
[ -r "$SDEROOT/lib/libsde.in" ] || [ -r "$SDEROOT/lib/libsde.in" ] ||
echo_abort 1 'SDEROOT not found.' echo_abort 1 'SDEROOT not found.'
fi fi

+ 3
- 3
bin/sde-build

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-build # Filename: bin/sde-build
# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2007 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 6
- 6
bin/sde-check-system

@ -1,14 +1,14 @@
#!/bin/bash #!/bin/bash
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-check-system # Filename: bin/sde-check-system
# Copyright (C) 2006 - 2008 The OpenSDE Project # Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # 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 cat <<-EOT
Paranoia Check: Your clock is not set! Paranoia Check: Your clock is not set!
Set you clock using the command: date MMDDhhmm[[CC]YY][.ss] Set you clock using the command: date MMDDhhmm[[CC]YY][.ss]
EOT EOT
found_error=1 found_error=1
fi fi
@ -77,7 +77,7 @@ if [ -z "`type -p m4`" ] ; then
EOT EOT
found_error=1 found_error=1
fi
fi
if [ -z "`type -p patch`" ] ; then if [ -z "`type -p patch`" ] ; then
cat <<-EOT cat <<-EOT
@ -176,7 +176,7 @@ if ! cat $x; then
Device nodes can not be created or are not functional on the Device nodes can not be created or are not functional on the
partition used for the build. Most probably the partitions is partition used for the build. Most probably the partitions is
mounted with the 'nodev' option. mounted with the 'nodev' option.
EOT EOT
found_error=1 found_error=1
fi fi

+ 4
- 4
bin/sde-cleanup

@ -1,21 +1,21 @@
#!/bin/bash #!/bin/bash
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-cleanup # Filename: bin/sde-cleanup
# Copyright (C) 2006 - 2008 The OpenSDE Project # Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING. # GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END --- # --- SDE-COPYRIGHT-NOTE-END ---
#Description: Cleanup the build environment
#Description: Cleanup the build environment
#Alias: clean #Alias: clean
[ -n "$SDEROOT" ] || [ -n "$SDEROOT" ] ||

+ 3
- 3
bin/sde-cleanup-download

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-cleanup-download # Filename: bin/sde-cleanup-download
# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2007 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 3
- 3
bin/sde-cleanup-linger

@ -1,14 +1,14 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-cleanup-linger # Filename: bin/sde-cleanup-linger
# Copyright (C) 2006 - 2008 The OpenSDE Project # Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 6
- 6
bin/sde-commit

@ -1,13 +1,13 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-commit # Filename: bin/sde-commit
# Copyright (C) 2006 - 2008 The OpenSDE Project # Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # 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)" echo_warning "$file: has an unknown status ($status)"
;; ;;
esac esac
fi fi
done ) done )
# and finally move to the root of the working tree # and finally move to the root of the working tree
cd "$SDEROOT/$root" cd "$SDEROOT/$root"
@ -176,7 +176,7 @@ if [ -s $tmpfile.diff -o -s $tmpfile.status ]; then
echo_warning "\tEmpty Log File!" echo_warning "\tEmpty Log File!"
commit= commit=
fi fi
echo -en "\n${COLOR_MESSAGE}Is the message ok?${COLOR_NORMAL}" 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} " 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 read opt

+ 3
- 3
bin/sde-config

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-config # Filename: bin/sde-config
# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2007 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 3
- 3
bin/sde-config-ini

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-config-ini # Filename: bin/sde-config-ini
# Copyright (C) 2006 - 2008 The OpenSDE Project # Copyright (C) 2006 - 2008 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 3
- 3
bin/sde-copy

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-copy # Filename: bin/sde-copy
# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2007 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 3
- 3
bin/sde-create

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-create # Filename: bin/sde-create
# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2007 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 18
- 18
bin/sde-download

@ -1,14 +1,14 @@
#!/bin/bash #!/bin/bash
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-download # Filename: bin/sde-download
# Copyright (C) 2006 - 2008 The OpenSDE Project # Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the
@ -30,7 +30,7 @@ download_usage() {
cat <<EOT cat <<EOT
Usage: Usage:
sde download <options> [ Package(s) ] sde download <options> [ Package(s) ]
sde download <options> [ Desc file(s) ]
sde download <options> [ Desc file(s) ]
sde download <options> -repository Repositories sde download <options> -repository Repositories
sde download <options> [ -all | -required ] sde download <options> [ -all | -required ]
@ -41,7 +41,7 @@ Usage:
[ -copy ] [ -move ] [ -copy ] [ -move ]
On default, this script auto-detects the best OpenSDE mirror. On default, this script auto-detects the best OpenSDE mirror.
Mirrors can also be a local directories in the form of 'file:///<dir>'. Mirrors can also be a local directories in the form of 'file:///<dir>'.
sde download [ -list | -list-missing | -list-cksums ] sde download [ -list | -list-missing | -list-cksums ]
@ -79,7 +79,7 @@ while [ $# -gt 0 ]; do
case "$1" in case "$1" in
-this_is_the_2nd_run) -this_is_the_2nd_run)
this_is_the_2nd_run=1
this_is_the_2nd_run=1
;; ;;
-cfg) -cfg)
@ -89,7 +89,7 @@ while [ $# -gt 0 ]; do
-q) -q)
options="$options -q" options="$options -q"
verbose=0 ;; verbose=0 ;;
-nock) -nock)
# -nock skips checksum checking (don't use lightly) # -nock skips checksum checking (don't use lightly)
options="$options -nock" options="$options -nock"
@ -148,7 +148,7 @@ while [ $# -gt 0 ]; do
# also try to download questionable URLs # also try to download questionable URLs
options="$options -try-questionable" options="$options -try-questionable"
tryques=1 ;; tryques=1 ;;
-move) altcopy=move ;; -move) altcopy=move ;;
-copy) altcopy=copy ;; -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." [ $this_is_the_2nd_run = 1 ] || echo_info "Using <$proxy> as ${proxyauth:+authenticated }http proxy."
fi fi
#Disable checking for certificates on https downloads
#Disable checking for certificates on https downloads
curl_options="$curl_options -k" curl_options="$curl_options -k"
# Autodetect best Mirror and safe url in $mirror # Autodetect best Mirror and safe url in $mirror
@ -317,7 +317,7 @@ download_file() {
if [ ! -d `dirname "$bzfile"` ] ; then if [ ! -d `dirname "$bzfile"` ] ; then
mkdir -p `dirname "$bzfile"` mkdir -p `dirname "$bzfile"`
fi fi
# Alternative Directory # Alternative Directory
# #
if [ "$altdir" ] ; then if [ "$altdir" ] ; then
@ -357,7 +357,7 @@ download_file() {
echo "INFO: download from mirror failed, trying original URL." echo "INFO: download from mirror failed, trying original URL."
download_file_now "$location" $gzfile $bzfile \ download_file_now "$location" $gzfile $bzfile \
|| downloaderror=1 || downloaderror=1
else else
gzfile="$bzfile" gzfile="$bzfile"
fi fi
@ -414,7 +414,7 @@ download_file_now() {
manual://*) manual://*)
# Determine if the file has already been downloaded # Determine if the file has already been downloaded
# manually. For this we first look in $HOME then in # manually. For this we first look in $HOME then in
# download/manual.
# download/manual.
downloadpath=${altdir:-$HOME} downloadpath=${altdir:-$HOME}
downloadfile="${gzfile##*/}" downloadfile="${gzfile##*/}"
if [ -e $downloadpath/$downloadfile ]; then if [ -e $downloadpath/$downloadfile ]; then
@ -532,7 +532,7 @@ download_file_now() {
module="${options%% *}" module="${options%% *}"
options="${options#* }" options="${options#* }"
cmdline="cvs -z4 -Q -d $url co -P $options $module" cmdline="cvs -z4 -Q -d $url co -P $options $module"
# sometimes cvs wants to read ~/.cvspass just for fun .. # sometimes cvs wants to read ~/.cvspass just for fun ..
touch $HOME/.cvspass touch $HOME/.cvspass
;; ;;
@ -542,7 +542,7 @@ download_file_now() {
else else
url="svn://$url" url="svn://$url"
fi fi
if [ "${options:0:1}" = "-" ]; then if [ "${options:0:1}" = "-" ]; then
# the module is the last dir of $url # the module is the last dir of $url
module="${url##*/}" module="${url##*/}"
@ -618,7 +618,7 @@ download_file_now() {
} }
list_dtags() { list_dtags() {
{
{
grep -H '^\[D\] ' package/*/*/*.desc grep -H '^\[D\] ' package/*/*/*.desc
grep -H '^[X0-9]' target/*/download.txt 2> /dev/null | sed 's,:,:[D] ,' grep -H '^[X0-9]' target/*/download.txt 2> /dev/null | sed 's,:,:[D] ,'
} | column_clean } | column_clean
@ -675,7 +675,7 @@ required() {
done < config/$config/packages done < config/$config/packages
# NOTE: ROCKCFG -> SDECFG automatized convertion # 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 sed -i -e 's,ROCKCFG,SDECFG,g' ./config/$config/config
target=`grep '^export SDECFG_TARGET=' 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 < <(grep -H '^\[D\] ' package/$repo/$pkg/$pkg.desc)
done done
done done
for each in $( ls -1 target/*/download.txt 2> /dev/null ); do for each in $( ls -1 target/*/download.txt 2> /dev/null ); do
target="`echo $each | cut -f2 -d/`" target="`echo $each | cut -f2 -d/`"
@ -775,7 +775,7 @@ packages() {
done done
} }
set +e
set +e
# Things to do only for downloading # Things to do only for downloading
# #

+ 3
- 3
bin/sde-download-get

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-download-get # Filename: bin/sde-download-get
# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2007 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 3
- 3
bin/sde-download-git

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-download-git # Filename: bin/sde-download-git
# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2007 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 4
- 4
bin/sde-download2

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-download2 # Filename: bin/sde-download2
# Copyright (C) 2007 - 2008 The OpenSDE Project # Copyright (C) 2007 - 2008 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # 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." echo_info "$pkg:${file##*/} is correct."
fi fi
fi fi
# and finally accept the file # and finally accept the file
# #
if [ -s "$tmpfile" ]; then if [ -s "$tmpfile" ]; then

+ 3
- 3
bin/sde-export

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-export # Filename: bin/sde-export
# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2007 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 3
- 3
bin/sde-help

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-help # Filename: bin/sde-help
# Copyright (C) 2006 - 2008 The OpenSDE Project # Copyright (C) 2006 - 2008 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 3
- 3
bin/sde-import

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-import # Filename: bin/sde-import
# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2007 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 3
- 3
bin/sde-info

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-info # Filename: bin/sde-info
# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2007 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 3
- 3
bin/sde-install

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-install # Filename: bin/sde-install
# Copyright (C) 2006 - 2008 The OpenSDE Project # Copyright (C) 2006 - 2008 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 3
- 3
bin/sde-list

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-list # Filename: bin/sde-list
# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2007 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 5
- 5
bin/sde-list-changes

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-list-changes # Filename: bin/sde-list-changes
# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2007 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the
@ -81,7 +81,7 @@ if [ -d '.git' ]; then
else else
echo "$f" echo "$f"
fi fi
done
done
# wait for git-diff-index # wait for git-diff-index
wait wait
@ -111,7 +111,7 @@ elif [ -d '.svn' ]; then
# only the filename is wanted, but when the change is interesting # only the filename is wanted, but when the change is interesting
echo "$f" echo "$f"
fi fi
done
done
else else
print_error "$root: Invalid Version Control System." print_error "$root: Invalid Version Control System."
fi fi

+ 3
- 3
bin/sde-list-download

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-list-download # Filename: bin/sde-list-download
# Copyright (C) 2007 - 2008 The OpenSDE Project # Copyright (C) 2007 - 2008 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 4
- 4
bin/sde-list-files

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-list-files # Filename: bin/sde-list-files
# Copyright (C) 2007 - 2008 The OpenSDE Project # Copyright (C) 2007 - 2008 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # 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 if [ "$root" = "." -a -n "$show_absolute_path" ]; then
root="$SDEROOT" root="$SDEROOT"
fi fi
echo "$root $file" echo "$root $file"
} }

+ 4
- 4
bin/sde-list-pkg

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-list-pkg # Filename: bin/sde-list-pkg
# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2007 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the
@ -61,7 +61,7 @@ list_desc_extenders() {
if [ -z "$config" ]; then if [ -z "$config" ]; then
for repo in $( cd "$SDEROOT/package"; ls -1d * 2> /dev/null ); do 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 done | while read confdir; do
pkg=${confdir##*/} pkg=${confdir##*/}
echo $confdir/$pkg.desc echo $confdir/$pkg.desc

+ 3
- 3
bin/sde-package

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-package # Filename: bin/sde-package
# Copyright (C) 2006 - 2008 The OpenSDE Project # Copyright (C) 2006 - 2008 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 4
- 4
bin/sde-parse-md5

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-parse-md5 # Filename: bin/sde-parse-md5
# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2007 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the
@ -67,7 +67,7 @@ for md5; do
fi fi
case "$pkg" in case "$pkg" in
exo)
exo)
pkg=lib${pkg} ;; pkg=lib${pkg} ;;
gtk-xfce-engine) gtk-xfce-engine)
pkg=${pkg}2 ;; pkg=${pkg}2 ;;

+ 3
- 3
bin/sde-patch-copyright

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-patch-copyright # Filename: bin/sde-patch-copyright
# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2007 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 3
- 3
bin/sde-switch

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-switch # Filename: bin/sde-switch
# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2007 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 3
- 3
bin/sde-update

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-update # Filename: bin/sde-update
# Copyright (C) 2007 - 2008 The OpenSDE Project # Copyright (C) 2007 - 2008 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 3
- 3
bin/sde-update-package

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-update-package # Filename: bin/sde-update-package
# Copyright (C) 2006 - 2008 The OpenSDE Project # Copyright (C) 2006 - 2008 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the

+ 4
- 4
bin/sde-update-tree

@ -1,19 +1,19 @@
#!/bin/sh #!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: bin/sde-update-tree # Filename: bin/sde-update-tree
# Copyright (C) 2007 - 2008 The OpenSDE Project # Copyright (C) 2007 - 2008 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify # 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 # 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 # the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING. # GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END --- # --- SDE-COPYRIGHT-NOTE-END ---
#Description: Updates the entire working tree
#Description: Updates the entire working tree
[ -n "$SDEROOT" ] || [ -n "$SDEROOT" ] ||
export SDEROOT=$( cd "${0%/*}/.."; pwd -P ) export SDEROOT=$( cd "${0%/*}/.."; pwd -P )

Loading…
Cancel
Save