Skip to content

Commit

Permalink
Move command to the correct location
Browse files Browse the repository at this point in the history
  • Loading branch information
madhe committed Jun 19, 2024
1 parent 97c18ae commit 48837c9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions buildEclipse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ if ! test -f $PACKAGE; then
else
echo "$PACKAGE exists"
fi
if ! test -f $LOCATION; then
if ! test -d $LOCATION; then
echo "$LOCATION File does not exist."
case "${TYPE}" in
Windows*) EXTRACT="7z x $PACKAGE -y -o$LOCATION;mv $LOCATION/eclipse/* $LOCATION/";;
Expand Down Expand Up @@ -92,11 +92,11 @@ rm -rf release
mkdir -p release
NAME=Eclipse-Groovy
case "${TYPE}" in
Windows*) COMPRESS="7z a ./release/$NAME-$TYPE.zip $LOCATION/ ";;
*) COMPRESS="tar czf ./release/$NAME-$TYPE.tar.gz $LOCATION/;";;
echo $COMPRESS
eval $COMPRESS
Windows*) MKPKG="7z a ./release/$NAME-$TYPE.zip $LOCATION/ ";;
*) MKPKG="tar czf ./release/$NAME-$TYPE.tar.gz $LOCATION/;";;
esac
echo "$MKPKG"
eval "$MKPKG"
ls -al .
ls -al release/

0 comments on commit 48837c9

Please sign in to comment.