diff options
author | jbj <devnull@localhost> | 2000-05-24 17:53:35 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2000-05-24 17:53:35 +0000 |
commit | c7273eb0bca1a7b4d7ccfea11fe9562b88034c53 (patch) | |
tree | 2f0a268637bab51fe1ab844e014795bba563e02f /scripts | |
parent | 0d1548767532377b8e0fcce719e9a42f567da5c3 (diff) | |
download | rpm-c7273eb0bca1a7b4d7ccfea11fe9562b88034c53.tar.gz rpm-c7273eb0bca1a7b4d7ccfea11fe9562b88034c53.tar.bz2 rpm-c7273eb0bca1a7b4d7ccfea11fe9562b88034c53.zip |
- change popt exec alias in oreder to exec rpm children.
- split rpm into 5 pieces along major mode fault lines with popt glue.
CVS patchset: 3750
CVS date: 2000/05/24 17:53:35
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/freshen.sh | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/scripts/freshen.sh b/scripts/freshen.sh index 9e46f0e39..ef473ed92 100755 --- a/scripts/freshen.sh +++ b/scripts/freshen.sh @@ -6,13 +6,11 @@ # specified (i.e. filenames with " specified). I'm sure some shell-hacker # out there can fix that <hint, hint>. -if [ $1 = ";" ]; then - RPM=rpm - shift -else - RPM=$1 - shift 2 -fi +case `basename $0` in +rpme|rpmi|rpmu) rpm="$0" ;; +*) rpm="`dirname $0`/rpmi" ;; +esac +shift args="-U" while [ $# -gt 0 ]; do |