File: putsoup

package info (click to toggle)
uqwk 2.21-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 468 kB
  • ctags: 475
  • sloc: ansic: 4,550; sh: 1,105; makefile: 122; perl: 11
file content (20 lines) | stat: -rw-r--r-- 424 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
# $Id: putsoup,v 1.1 1999/03/08 15:28:40 js Exp $

prg=`basename $0`
rf=reply.zip; cd $UQ_HOME_DIR

if [ ! -f $rf ]; then
  echo "$prg: no reply packet found"                  >&2
  exit 1
fi

unzip -ju $rf                                 2>/dev/null

if uqwk -m -n +L -RREPLIES
then
  echo "$prg: fatal uqwk error, proceed with caution" >&2
fi

echo "Done. If all went well, $rf can safely be deleted."
rm -i $rf