mirror of
https://github.com/ceph/ceph
synced 2024-12-21 10:54:42 +00:00
3aae5ca6fd
/bin/bash is a Linuxism. Other operating systems install bash to different paths. Use /usr/bin/env in shebangs to find bash. Signed-off-by: Alan Somers <asomers@gmail.com>
9 lines
137 B
Bash
Executable File
9 lines
137 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -ex
|
|
|
|
what="$1"
|
|
[ -z "$what" ] && what=/etc/udev/rules.d
|
|
sudo ceph-post-file -d ceph-test-workunit $what
|
|
|
|
echo OK
|