diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-12-21 18:44:27 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-12-21 18:45:40 -0600 |
commit | 4ca4050de7a33985b359b527a59abac3ac3a87f5 (patch) | |
tree | 132aec35b5a7e7f6bea0820edc3f13ecc9e3ed10 /solenv/bin/write_classpath.sh | |
parent | 32d73c29a2b866fcd24b6f2a6a7d3390e4435e30 (diff) |
try to keep Class-Path lenght under control
Change-Id: I5cc6f325eff9f5177e77de661728621383fa5558
Diffstat (limited to 'solenv/bin/write_classpath.sh')
-rwxr-xr-x | solenv/bin/write_classpath.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/solenv/bin/write_classpath.sh b/solenv/bin/write_classpath.sh new file mode 100755 index 000000000000..29aeecb81abe --- /dev/null +++ b/solenv/bin/write_classpath.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +dest="$1" +shift +base='Class-Path: ' + +while [ "${1}" != "" ]; do + p="$1" + shift + echo "$base $1" >> $dest + base=' ' +done + +#echo "added classpath" +#cat $dest +#echo "===" |