|
|
@ -2,7 +2,7 @@ |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# Filename: lib/sde-config/functions.in |
|
|
|
# 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 |
|
|
|
# |
|
|
@ -82,6 +82,21 @@ create_dot_in_lists() { |
|
|
|
create_configin_list |
|
|
|
} |
|
|
|
|
|
|
|
hack_stages() { |
|
|
|
local stage="$1----------"; shift |
|
|
|
local pkgs="$*" |
|
|
|
|
|
|
|
if [ $# -gt 1 ]; then |
|
|
|
pkgs="${pkgs// /\|}" |
|
|
|
elif [ $# -eq 1 ]; then |
|
|
|
true |
|
|
|
fi |
|
|
|
|
|
|
|
if [ "$pkgs" ]; then |
|
|
|
pkgfilter sed -e "s,^\(.\) [^ ]* \([^ ]*\) \([^ ]*\) \($pkgs\) ,\1 ${stage:0:10} \2 \3 \4 ," |
|
|
|
fi |
|
|
|
} |
|
|
|
|
|
|
|
# Functions for working with config/$config/packages |
|
|
|
# |
|
|
|
# pkgenable package-list |
|
|
|