Files
narya/bin/preflist
T
Dave Hoover e571cd9e70 I swear; sometime before 2011 I'll be done stumbling across ways my
copyright updating missed things


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6012 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-01-06 01:09:57 +00:00

20 lines
423 B
Bash
Executable File

#!/bin/sh
#
# $Id$
#
# 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