]> gerrit.simantics Code Review - simantics/third-party.git/commitdiff
Whitespace support in directory names for publish.sh release/1.43.0 release/1.43.0-CVM release/1.43.0-CVM2 release/1.43.0.1 release/1.43.1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Sat, 22 Feb 2020 23:48:57 +0000 (01:48 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Sat, 22 Feb 2020 23:48:57 +0000 (01:48 +0200)
gitlab simantics/platform#468

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