X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jenkins-init-scripts%2Fpackage-listing.sh;h=93a2e747cb48ead760c27e9585238bff0837c8c2;hb=c87fbe5ca854c0a882133be67e10ce92fead6464;hp=2598a224eb065172095062057f5d031d4b63b94f;hpb=68df50265903964986984e073df5cf671998befc;p=releng%2Fglobal-jjb.git diff --git a/jenkins-init-scripts/package-listing.sh b/jenkins-init-scripts/package-listing.sh index 2598a224..93a2e747 100755 --- a/jenkins-init-scripts/package-listing.sh +++ b/jenkins-init-scripts/package-listing.sh @@ -9,9 +9,11 @@ # http://www.eclipse.org/legal/epl-v10.html ############################################################################## -# Share script with JJB jobs so we only have to maintain it in one place -JJB_SHELL_DIR="$(dirname $0)/../shell" +# The 'init' scripts are located in 'jenkins-init-scripts' directory. +# The 'global-jjb' scripts are located in 'shell' directory. The +# 'package-listing' script is used by both, this is a simple wrapper +# for 'shell/package-listing.sh'. Arguments would be quietly discarded. -# Make sure the script is executable and then run it -chmod +x "${JJB_SHELL_DIR}/package-listing.sh" -"${JJB_SHELL_DIR}/package-listing.sh" +jjb_init_scripts="$(dirname "$0")/../shell" + +"$jjb_init_scripts/package-listing.sh"