bigbluebutton-v2.5.11/bbb-recording-imex/deploy.sh
2023-01-16 14:25:39 +08:00

13 lines
364 B
Bash
Executable File

#!/bin/bash
JAR_DIR="$HOME/usr/share/recording-imex"
JAR_NAME="bbb-recording-imex-1.0-SNAPSHOT-shaded.jar"
RUN_DIR="$HOME/usr/local/bin"
mkdir -p $JAR_DIR
mkdir -p $RUN_DIR
mvn package -Dmaven.test.skip
cp target/${JAR_NAME} $JAR_DIR
echo '#!/bin/bash
java -jar '${JAR_DIR}'/'${JAR_NAME} '"$@"'> ${RUN_DIR}/recording-imex.sh
chmod +x ${RUN_DIR}/recording-imex.sh