Skip to content

Commit

Permalink
Check if there is already an jre in the directory
Browse files Browse the repository at this point in the history
  • Loading branch information
cramirezsmtt committed Feb 12, 2018
1 parent ab42480 commit 88a0110
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions createAppx-cyg.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

cd "$(dirname "$0")"

tar -xvzf jre-8u*-windows-x64.tar.gz
mv jre1.8.* PackageFiles/jre
if [ ! -e PackageFiles/jre ]; then
tar -xvzf jre-8u*-windows-x64.tar.gz
mv jre1.8.* PackageFiles/jre
fi

export WINDOWSSDK="/cygdrive/c/Program Files (x86)/Windows Kits/10/bin/10.0.15063.0/x64"

Expand Down
6 changes: 4 additions & 2 deletions createAppx.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

cd "$(dirname "$0")"

tar -xvzf jre-8u*-windows-x64.tar.gz
mv jre1.8.* PackageFiles/jre
if [ ! -e PackageFiles/jre ]; then
tar -xvzf jre-8u*-windows-x64.tar.gz
mv jre1.8.* PackageFiles/jre
fi

export WINDOWSSDK="/mnt/c/Program Files (x86)/Windows Kits/10/bin/10.0.15063.0/x64"

Expand Down

0 comments on commit 88a0110

Please sign in to comment.