summaryrefslogtreecommitdiffstats
path: root/heimdall/ar-lib
diff options
context:
space:
mode:
Diffstat (limited to 'heimdall/ar-lib')
-rwxr-xr-xheimdall/ar-lib15
1 files changed, 5 insertions, 10 deletions
diff --git a/heimdall/ar-lib b/heimdall/ar-lib
index 67f5f36..c0286a4 100755
--- a/heimdall/ar-lib
+++ b/heimdall/ar-lib
@@ -2,9 +2,9 @@
# Wrapper for Microsoft lib.exe
me=ar-lib
-scriptversion=2012-03-01.08; # UTC
+scriptversion=2012-01-30.22; # UTC
-# Copyright (C) 2010-2012 Free Software Foundation, Inc.
+# Copyright (C) 2010, 2012 Free Software Foundation, Inc.
# Written by Peter Rosin <peda@lysator.liu.se>.
#
# This program is free software; you can redistribute it and/or modify
@@ -153,9 +153,7 @@ action=${action#-}
delete=
extract=
list=
-quick=
replace=
-index=
create=
while test -n "$action"
@@ -164,10 +162,7 @@ do
d*) delete=yes ;;
x*) extract=yes ;;
t*) list=yes ;;
- q*) quick=yes ;;
r*) replace=yes ;;
- s*) index=yes ;;
- S*) ;; # the index is always updated implicitly
c*) create=yes ;;
u*) ;; # TODO: don't ignore the update modifier
v*) ;; # TODO: don't ignore the verbose modifier
@@ -178,8 +173,8 @@ do
action=${action#?}
done
-case $delete$extract$list$quick$replace,$index in
- yes,* | ,yes)
+case $delete$extract$list$replace in
+ yes)
;;
yesyes*)
func_error "more than one action specified"
@@ -230,7 +225,7 @@ elif test -n "$extract"; then
done
fi
-elif test -n "$quick$replace"; then
+elif test -n "$replace"; then
if test ! -f "$orig_archive"; then
if test -z "$create"; then
echo "$me: creating $orig_archive"