Skip to content

Instantly share code, notes, and snippets.

@RebieKong
Created October 10, 2017 05:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RebieKong/3e84916a2c932eb75e8bf385d83e6440 to your computer and use it in GitHub Desktop.
Save RebieKong/3e84916a2c932eb75e8bf385d83e6440 to your computer and use it in GitHub Desktop.
扫描文件夹中指定后缀名并连接起来
#!/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