summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-05-24 17:53:35 +0000
committerjbj <devnull@localhost>2000-05-24 17:53:35 +0000
commitc7273eb0bca1a7b4d7ccfea11fe9562b88034c53 (patch)
tree2f0a268637bab51fe1ab844e014795bba563e02f /scripts
parent0d1548767532377b8e0fcce719e9a42f567da5c3 (diff)
downloadrpm-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-xscripts/freshen.sh12
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