summaryrefslogtreecommitdiffstats
path: root/heimdall/ar-lib
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2014-06-01 06:49:56 +0200
committerBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2014-06-01 06:49:56 +0200
commitfbebc394f441e35e4777868627b4d2d1ec349a6b (patch)
treeb58d6cdde289e3c5315c69438ab9eb54b08f0e3d /heimdall/ar-lib
parentFixed support for large files (up to 2^32 - 1 bytes) (diff)
downloadHeimdall-1.4.1.tar
Heimdall-1.4.1.tar.gz
Heimdall-1.4.1.tar.bz2
Heimdall-1.4.1.tar.lz
Heimdall-1.4.1.tar.xz
Heimdall-1.4.1.tar.zst
Heimdall-1.4.1.zip
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"