Browse Source

Added -deb options.

git-svn-id: svn://svn.opensde.net/opensde/opensde/trunk@21197 10447126-35f2-4685-b0cf-6dd780d3921f
misl/sde-wrapper
Oliver Winston 17 years ago
parent
commit
c5cb8e506e
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      lib/sde-package/new.in

+ 6
- 3
lib/sde-package/new.in

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: lib/sde-package/new.in
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2006 - 2007 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
@ -11,12 +11,15 @@
# 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 ---
#set -x
package_new() {
local method=
if [ "$1" = "-fm" ]; then
method="freshmeat"
shift
elif [ "$1" = "-deb" ];then
shift
exec python ./lib/sde-package/new-debian.py "$@"
fi
# new package
@ -65,7 +68,7 @@ package_new() {
fm_name=${1:-$new_package}
exec /bin/bash ./lib/sde-package/new-freshmeat.sh ${new_repository#$SDEROOT/package/}/$new_package "$fm_name"
;;
*) exec /bin/sh ./lib/sde-package/new.sh ${new_repository#$SDEROOT/package/}/$new_package "$@"
*) exec /bin/sh ./lib/sde-package/new.sh ${new_repository#$SDEROOT/package/} "$@"
;;
esac
}

Loading…
Cancel
Save