Files
narya/bin/preflist
T
Michael Bayne e804abad30 Scripts for building DashO'd clients.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1786 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-08 18:46:02 +00:00

20 lines
468 B
Bash
Executable File

#!/bin/sh
#
# $Id: preflist,v 1.1 2002/10/08 18:46:02 mdb Exp $
#
# Fucking ant. This simple script exists so that I can prefix a list of
# jar files with a directory and stick them all on the same line so that
# they can be passed on the command line to scripts that need a list of
# jar files.
LIBDIR=$1
JARLIST=$2
if [ -z "$LIBDIR" -o -z "$JARLIST" ]; then
echo "Usage: $0 libdir jarsfile"
exit -1
fi
awk "{ print \"$LIBDIR/\" \$1 }" < $JARLIST | xargs