Browse Source

* adapted ./scripts/Emerge-Pkg, ./scripts/Build-Target, ./scripts/Cleanup, ./scripts/Create-ISO

to use `sde download` command


git-svn-id: svn://svn.opensde.net/opensde/opensde/trunk@20990 10447126-35f2-4685-b0cf-6dd780d3921f
misl/sde-wrapper
Alejandro Mery 19 years ago
parent
commit
9442dcdbd9
4 changed files with 7 additions and 7 deletions
  1. +1
    -1
      scripts/Build-Target
  2. +2
    -2
      scripts/Cleanup
  3. +2
    -2
      scripts/Create-ISO
  4. +2
    -2
      scripts/Emerge-Pkg

+ 1
- 1
scripts/Build-Target

@ -203,7 +203,7 @@ pkgloop_package() {
else cmd_prefix="" ; fi
if [ "$autodownload" == 1 ]; then
./scripts/Download -cfg $config $downloadopt $pkg_name
./bin/sde-download -cfg $config $downloadopt $pkg_name
fi
cmd_buildpkg="./scripts/Build-Pkg -$stagelevel -cfg $config"

+ 2
- 2
scripts/Cleanup

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: scripts/Cleanup
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -49,7 +49,7 @@ done
#
if [ $downclean -eq 1 ]; then
echo "Searching for obsolete downloads (this may take some time) ..."
./scripts/Download -list-unknown | cut -d ' ' -f 3 |
./bin/sde-download -list-unknown | cut -d ' ' -f 3 |
while read fn; do
[ "$fn" ] && rm -v "$fn"
done

+ 2
- 2
scripts/Create-ISO

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: scripts/Create-ISO
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -262,7 +262,7 @@ if [ $src = 1 ] ; then
else
echo "WARNING: File $from is missing!"
fi
done < <( ./scripts/Download -list | sort -u )
done < <( ./bin/sde-download -list | sort -u )
fi
date "+ [%X] Creating ISO index ..."

+ 2
- 2
scripts/Emerge-Pkg

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: scripts/Emerge-Pkg
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -235,7 +235,7 @@ echo "Packages scheduled to build: ${deplist:-none}"
. config/$config/config
for package in $deplist ; do
if ./scripts/Download $package ; then [ $downloadonly != 1 ] && \
if ./bin/sde-download $package ; then [ $downloadonly != 1 ] && \
if ! ./scripts/Build-Pkg $options $package; then
if [ $SDECFG_ABORT_ON_ERROR_AFTER -gt 8 ]; then
echo "Aborting further builds due to config setting ABORT_ON_ERROR_AFTER."

Loading…
Cancel
Save