]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
samba: Fix the xargs command
authorBoris Ranto <branto@redhat.com>
Thu, 18 May 2017 14:58:26 +0000 (16:58 +0200)
committerBoris Ranto <branto@redhat.com>
Thu, 18 May 2017 14:59:42 +0000 (16:59 +0200)
The xargs command only serialized the input. Using the plain on lines to
be sure this time.

Signed-off-by: Boris Ranto <branto@redhat.com>
samba/build/build_deb

index 2221c7d34fc6b2381be77173f161de215dcb2154..2db1fc105494a9ccc6304de35d4bc50d8ff016e1 100644 (file)
@@ -35,13 +35,11 @@ sudo cp $WORKSPACE/shaman.list /etc/apt/sources.list.d/
 
 ## Install any setup-time deps
 # Make sure we use the latest ceph versions, remove any old bits
-xargs sudo apt-get remove -y <<< "
-libcephfs-dev
-libcephfs1
-libcephfs2
-librados2
-librbd1
-"
+sudo apt-get remove -y libcephfs-dev || true
+sudo apt-get remove -y libcephfs2 || true
+sudo apt-get remove -y libcephfs1 || true
+sudo apt-get remove -y librados2 || true
+sudo apt-get remove -y librbd1 || true
 
 # We need these for the build
 sudo apt-get update && sudo apt-get install -y build-essential equivs libgnutls-dev libacl1-dev libldap2-dev ruby ruby-dev libcephfs-dev