10 lines
150 B
Bash
10 lines
150 B
Bash
|
#for file in *.jar; do
|
||
|
# echo $file
|
||
|
#done
|
||
|
ls -la
|
||
|
file=$(ls *.jar | tail -1)
|
||
|
echo Starting $file
|
||
|
mkdir -p $MC_SERVER
|
||
|
cd $MC_SERVER
|
||
|
java -jar ../$file
|