]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/post-file.sh: use /etc/default
authorSage Weil <sage@redhat.com>
Thu, 9 Apr 2015 16:58:39 +0000 (09:58 -0700)
committerLoic Dachary <ldachary@redhat.com>
Wed, 3 Feb 2016 04:19:54 +0000 (11:19 +0700)
base-files doesn't existing on rhel.  /etc/default is everywhere and it's
small.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 52235e32561ef3e91f07c59c8fd89c4df244f461)

qa/workunits/post-file.sh

index a6fb765e3bdcf332eb76824748df1b83fd076c7a..b2bba86578beb4637e84f30be8eab22acbe160fd 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash -ex
 
 what="$1"
-[ -z "$what" ] && what=/usr/share/base-files
+[ -z "$what" ] && what=/etc/default
 ceph-post-file -d ceph-test-workunit $what
 
 echo OK