summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-03-02 08:28:18 +0000
committerjbj <devnull@localhost>2001-03-02 08:28:18 +0000
commit3e63d3b76801048ab26c6314d67aa213474b86a0 (patch)
tree4113e876bec5819eaabff4c7a8df4f98b7420e65 /scripts
parentd955c25e489d9cc84fcd0fe5b597d7caacd8afaf (diff)
downloadrpm-3e63d3b76801048ab26c6314d67aa213474b86a0.tar.gz
rpm-3e63d3b76801048ab26c6314d67aa213474b86a0.tar.bz2
rpm-3e63d3b76801048ab26c6314d67aa213474b86a0.zip
Flesh out init/pre/process/post/fini PSM stages.
CVS patchset: 4592 CVS date: 2001/03/02 08:28:18
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/trpm22
1 files changed, 18 insertions, 4 deletions
diff --git a/scripts/trpm b/scripts/trpm
index f5e48b775..2219eaebc 100755
--- a/scripts/trpm
+++ b/scripts/trpm
@@ -5,7 +5,12 @@ dbg= # echo
rpm=/bin/rpm
rpmb=/usr/bin/rpmbuild
rpmq=/usr/bin/rpmquery
-rpmdb=$rpm
+rpmdb=/usr/bin/rpmdb
+
+#rpm=/X/src/rpm402/rpm
+#rpmb=/X/src/rpm402/rpmb
+#rpmq=/X/src/rpm402/rpmq
+#rpmdb=/X/src/rpm402/rpmdb
#rpm=/X/src/rpm307/rpm
#rpmb=$rpm
@@ -121,22 +126,27 @@ buildglob="
$develglob
autoconf-
automake-
+bash2-
binutils-
cpp-
cvs-
db3-utils-
-egcs-2
+egcs-1
+egcs-c++-1
gcc-2
+gcc-c++-2
gettext-
krb5-configs-
krb5-libs-
-libstdc++-2
+libstdc++-
libtool-
make-
m4-
openssl-0
+patch-
perl-5
python-1
+rpm-build-
tcsh-
"
classes="min0 min1 min2 base devel build"
@@ -144,6 +154,9 @@ notallpat="(kernel-[^2h])"
for cmd in $*
do
+ [ $# -eq 0 ] && break
+ shift
+ echo "******** args: $*"
echo "=======> start $cmd `date`"
case $cmd in
debug) dbg=echo ;;
@@ -223,7 +236,8 @@ EOF
echo $type-$dist-$arch not found
exit 1
}
- $dbg $sudo $rpm $rc --root $root --force $cmd `cat $type-$dist-$arch`
+ $dbg $sudo $rpm $rc --root $root $cmd $* `cat $type-$dist-$arch`
+ set ""
;;
-[Vqei]*|--showrc)
$dbg $sudo $rpm $rc --root $root $cmd