Use -p flag for mkdir

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2, Sig, Sigo 2 years ago committed by GitHub
parent 5b6f6b4e65
commit ff9f92ef93
  1. 2
      Java/scripts/md5
  2. 4
      Java/scripts/release.sh

@ -4,6 +4,6 @@ clean.sh:668a2f9b568c55f6a044a509315032f6 -
commit.sh:5e4448db9ad48e72ec3a1ff4f5763b41 -
jar2.sh:7977fc138ee5db798d08c34734f0be93 -
jar.sh:821d5a109324d405f05c35c4bb129375 -
release.sh:6b21cd3b0d0e418d09c3b59d1ad5270e -
release.sh:571a332e817dfe548d038515ad02f6ee -
update.sh:3be721658983183efa395984acd96b03 -
zip.sh:273f5a83b80a8e54022d60514dfeec0a -

@ -10,11 +10,11 @@ elif [ "$1" = "mac" ];then
elif [ "$1" = "linux" ];then
echo "Creating a package for Linux..."
cd ..
mkdir -v RabiCloneOut/in
mkdir -vp RabiCloneOut/in
FILES=$(cat ${LANGUAGE}/scripts/.package.files)
for f in $FILES
do
cp -Rvp $f RabiCloneOut/in
cp -Rv $f RabiCloneOut/in
done
jpackage --verbose --input RabiCloneOut/in --main-jar bin/RabiClone.jar --main-class sig.RabiClone --type app-image --dest RabiCloneOut
cp -Rv RabiCloneOut/RabiClone/lib/app/* RabiCloneOut/RabiClone

Loading…
Cancel
Save