|
@ -2,7 +2,7 @@ |
|
|
# --- 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: scripts/Cleanup |
|
|
|
|
|
|
|
|
# Filename: bin/sde-cleanup |
|
|
# Copyright (C) 2006 - 2007 The OpenSDE Project |
|
|
# Copyright (C) 2006 - 2007 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 |
|
@ -14,9 +14,15 @@ |
|
|
# 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 --- |
|
|
# |
|
|
|
|
|
# Cleanup the build environment |
|
|
|
|
|
# |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#Description: Cleanup the build environment |
|
|
|
|
|
|
|
|
|
|
|
set -e |
|
|
|
|
|
|
|
|
|
|
|
[ -n "$SDEROOT" ] || |
|
|
|
|
|
export SDEROOT=$( cd "${0%/*}/.."; pwd -P ) |
|
|
|
|
|
|
|
|
|
|
|
. $SDEROOT/lib/libsde.in |
|
|
|
|
|
|
|
|
nocheck=0 |
|
|
nocheck=0 |
|
|
downclean=0 |
|
|
downclean=0 |
|
@ -36,8 +42,8 @@ while [ "$1" ] ; do |
|
|
-download) |
|
|
-download) |
|
|
downclean=1 ;; |
|
|
downclean=1 ;; |
|
|
-*) |
|
|
-*) |
|
|
echo "Usage: $0 [ -build ] [ -cache ] [ -full ] [ -nocheck ] [ -download ]" |
|
|
|
|
|
echo " ${0//[a-zA-Z\/.]/ } [ dir(s) ]" |
|
|
|
|
|
|
|
|
. $SDEROOT/lib/sde-help.in |
|
|
|
|
|
help_command cleanup |
|
|
exit 1 ;; |
|
|
exit 1 ;; |
|
|
*) |
|
|
*) |
|
|
break ;; |
|
|
break ;; |