Skip to content

Instantly share code, notes, and snippets.

@RebieKong RebieKong/get_cp.sh
Created Oct 10, 2017

Embed
What would you like to do?
扫描文件夹中指定后缀名并连接起来
#!/usr/bin/env bash
export CLASSPATH_DIR="$(cd `dirname $0`/../lib; pwd)"
export CLASS_PATH=`find ${CLASSPATH_DIR} -name '*.jar' | xargs | sed "s/ /${CP_SPLIT}/g"`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.