diff options
author | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2014-06-01 06:49:56 +0200 |
---|---|---|
committer | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2014-06-01 06:49:56 +0200 |
commit | fbebc394f441e35e4777868627b4d2d1ec349a6b (patch) | |
tree | b58d6cdde289e3c5315c69438ab9eb54b08f0e3d /heimdall/ar-lib | |
parent | Fixed support for large files (up to 2^32 - 1 bytes) (diff) | |
download | Heimdall-fbebc394f441e35e4777868627b4d2d1ec349a6b.tar Heimdall-fbebc394f441e35e4777868627b4d2d1ec349a6b.tar.gz Heimdall-fbebc394f441e35e4777868627b4d2d1ec349a6b.tar.bz2 Heimdall-fbebc394f441e35e4777868627b4d2d1ec349a6b.tar.lz Heimdall-fbebc394f441e35e4777868627b4d2d1ec349a6b.tar.xz Heimdall-fbebc394f441e35e4777868627b4d2d1ec349a6b.tar.zst Heimdall-fbebc394f441e35e4777868627b4d2d1ec349a6b.zip |
Diffstat (limited to 'heimdall/ar-lib')
-rwxr-xr-x | heimdall/ar-lib | 15 |
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" |