[MERGED] osmo-gsm-tester[master]: contrib: Fix removal of doc directories

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Wed Jul 5 11:09:48 UTC 2017


Neels Hofmeyr has submitted this change and it was merged.

Change subject: contrib: Fix removal of doc directories
......................................................................


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(-)

Approvals:
  Neels Hofmeyr: Looks good to me, approved
  Jenkins Builder: Verified



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: merged
Gerrit-Change-Id: Ida8941525db2d6a80539ffda29fb4fa74dbb1e16
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list