From 6fa00f20bbeeded26a5115676426e251051ea367 Mon Sep 17 00:00:00 2001 From: Nagy Karoly Gabriel Date: Tue, 6 Mar 2012 16:23:13 +0100 Subject: [PATCH] Revert "Build-Target/package.sh: added capability to filter out development files while creating the binary package" This reverts commit 95e731c6a7be89802246901d725c4f9d7ed7d3ca. --- lib/sde-binary/package.sh | 47 +++++---------------------------------- scripts/Build-Target | 3 +-- 2 files changed, 6 insertions(+), 44 deletions(-) diff --git a/lib/sde-binary/package.sh b/lib/sde-binary/package.sh index 73eb14c..2307a53 100755 --- a/lib/sde-binary/package.sh +++ b/lib/sde-binary/package.sh @@ -3,7 +3,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: lib/sde-binary/package.sh -# Copyright (C) 2007 - 2012 The OpenSDE Project +# Copyright (C) 2007 - 2010 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -31,14 +31,12 @@ Usage: ${0} --type [--versioned] [--root ] [--output ] $output/$filename.tmp" +( grep ' var/adm' "$flist" + grep -v ' var/adm' "$flist" ) | cut -f2- -d' ' | + tar -C "$root" -cf- --no-recursion --files-from=- | + $compressor > "$output/$filename.tmp" errno=$? if [ "$errno" != "0" ]; then echo_error "failed to create '$output/$filename' (errno:$errno)" - rm -f "$output/$tarfilename.tmp" rm -f "$output/$filename.tmp" exit 4 else - rm -rf "$tmpdir" - rm -f "$output/$tarfilename.tmp" mv "$output/$filename.tmp" "$output/$filename" fi diff --git a/scripts/Build-Target b/scripts/Build-Target index aea6b9a..8eba069 100755 --- a/scripts/Build-Target +++ b/scripts/Build-Target @@ -3,7 +3,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: scripts/Build-Target -# Copyright (C) 2006 - 2012 The OpenSDE Project +# Copyright (C) 2006 - 2010 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -239,7 +239,6 @@ pkgloop_package() { else ./lib/sde-binary/package.sh --type "$SDECFG_PKGFILE_TYPE" \ $( if [ "${SDECFG_PKGFILE_VER}" = 1 ]; then echo '--versioned'; fi ) \ - $( if [ "${SDECFG_FILTER_NODEVEL}" = 1 ]; then echo '--nodevel'; fi ) \ --root "${build_root}" --output "${build_pkgs}" ${pkg_name} fi fi