Review at  https://gerrit.osmocom.org/3121

contrib: Fix removal of doc directories

The docs are actually not removed because the shell takes
{libosmocore,libosmo-sccp} as a string literal if found inside quote
marks, see [1] for more information.

[1] https://unix.stackexchange.com/questions/67757/wildcards-inside-quotes

Change-Id: Ida8941525db2d6a80539ffda29fb4fa74dbb1e16
---
M contrib/jenkins-build-common.sh
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/21/3121/1

diff --git a/contrib/jenkins-build-common.sh b/contrib/jenkins-build-common.sh
index 895cd63..efc621a 100644
--- a/contrib/jenkins-build-common.sh
+++ b/contrib/jenkins-build-common.sh
@@ -141,7 +141,7 @@
 create_bin_tgz() {
   # don't package documentation -- the libosmocore docs can be up to 16 Mb 
large,
   # a significant amount compared to the binaries
-  rm -rf "$prefix_real/share/doc/{libosmocore,libosmo-sccp}" || true
+  rm -rf "$prefix_real/share/doc/"{libosmocore,libosmo-sccp} || true
 
   # build the archive that is going to be copied to the tester
   cd "$prefix_real"

-- 
To view, visit https://gerrit.osmocom.org/3121
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ida8941525db2d6a80539ffda29fb4fa74dbb1e16
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pes...@sysmocom.de>

Reply via email to