]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Whitespace support in directory names for publish.sh
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Sat, 22 Feb 2020 23:44:27 +0000 (01:44 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Sat, 22 Feb 2020 23:44:27 +0000 (01:44 +0200)
gitlab #468

Change-Id: I875cf2537633b9d987020935941946df2dd117fb

releng/org.simantics.sdk.build.p2.site/publish.sh

index 86acc9d900d7f42da19572c18e52612ad98a091b..03a22c8781aa3ca4ab304dc15df620c67f4f136d 100755 (executable)
@@ -8,6 +8,7 @@ fi
 ECLIPSE=$1
 REPO=$2
 
-rm ${REPO}/{artifacts,content}.jar
+rm "${REPO}/artifacts.jar"
+rm "${REPO}/content.jar"
 
-"${ECLIPSE}" -noupdate -nosplash -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -metadataRepository file:/${REPO} -artifactRepository file:/${REPO} -source ${REPO} -compress -publishArtifacts
+"${ECLIPSE}" -noupdate -nosplash -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -metadataRepository "file:/${REPO}" -artifactRepository "file:/${REPO}" -source "${REPO}" -compress -publishArtifacts