This is an automated email from the ASF dual-hosted git repository. johnmcdonnell pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git
The following commit(s) were added to refs/heads/master by this push: new 1e0a49a Quick cleanup of the script which I have working locally and to keep it's format inline with the other installer script in case of changes in the future new 1589223 Merge pull request #19 from mcdonnell-john/mac-installer-script-cleanup 1e0a49a is described below commit 1e0a49ad469e35f3cdceb3991c9a1a5b347749ac Author: John McDonnell <mcdonnell.j...@gmail.com> AuthorDate: Tue Sep 1 20:34:01 2020 +0100 Quick cleanup of the script which I have working locally and to keep it's format inline with the other installer script in case of changes in the future --- resources/org/apache/netbeans/installermac.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/resources/org/apache/netbeans/installermac.sh b/resources/org/apache/netbeans/installermac.sh index 5a68c97..a075626 100644 --- a/resources/org/apache/netbeans/installermac.sh +++ b/resources/org/apache/netbeans/installermac.sh @@ -20,19 +20,20 @@ ## param 1 workspace filename for binaries-zip ## param 2 version number xx.y (mandatory) ## param 3 timestamp YYMMDD +## param 4 absolute file path to Apple Developer ID Certificate text file BASE_DIR=`pwd` NB_ALL=$BASE_DIR export BASE_DIR NB_ALL -DIST=$BASE_DIR/dist -export DIST - if [[ "$4" ]]; then echo 'I need 4 arguments:' echo 'usage: installer usage [file path to Apache NetBeans binaries-zip] [versionumber formated xx.y] [timestamp YYMMDD] [path to a certificate]' fi +DIST=$BASE_DIR/dist +export DIST + if [ -d $DIST ] ; then rm -rf $DIST fi @@ -131,9 +132,6 @@ BASENAME_PREFIX=Apache-NetBeans-$NB_VER_NUMBER-bin BUILD_DESC=$BASENAME_PREFIX export NB_VER_NUMBER BUILDNUMBER BASENAME_PREFIX NB_BUILD_NUMBER DATESTAMP BUILD_DESC -MAC_PATH=$DIST -#export MAC_PATH - #To build MAC installer on mac host set BUILD_MAC to 1 BUILD_MAC=1 export BUILD_MAC --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists