2 # This is a shell archive (produced by GNU sharutils 4.15.2).
3 # To extract the files from this archive, save it to some FILE, remove
4 # everything before the '#!/bin/sh' line above, then type 'sh FILE'.
7 # Made on 2018-09-30 19:46 BST by <jkoshy@erebor>.
8 # Source directory was '/home/jkoshy/Work/Elftoolchain/trunk/test/ar/tc/extract-nonexistent/in'.
10 # Existing files will *not* be overwritten, unless '-c' is specified.
14 # ------ ---------- ------------------------------------------
15 # 80 -rw-rw-r-- valid.a
25 if test ! -d ${lock_dir} ; then :
26 else ${echo} "lock directory ${lock_dir} exists"
29 if mkdir ${lock_dir} ; then :
30 else ${echo} "failed to create ${lock_dir} lock directory"
33 # ============= valid.a ==============
34 if test -n "${keep_file}" && test -f 'valid.a'
36 ${echo} "x - SKIPPING valid.a (file already exists)"
39 ${echo} "x - extracting valid.a (text)"
40 sed 's/^X//' << 'SHAR_EOF' > 'valid.a' &&
47 then ${echo} "restore of valid.a failed"
51 then ${echo} "x - removed lock directory ${lock_dir}."
52 else ${echo} "x - failed to remove lock directory ${lock_dir}."