genfio: use /bin/bash hashbang
authorSitsofe Wheeler <sitsofe@yahoo.com>
Sun, 1 Mar 2020 22:01:39 +0000 (22:01 +0000)
committerSitsofe Wheeler <sitsofe@yahoo.com>
Sun, 1 Mar 2020 22:10:38 +0000 (22:10 +0000)
Not all distros have done usrmerge - Debian
https://salsa.debian.org/debian/fio/-/blob/5a608e04b947aed0d3b49d7ca9a85ed9afe9ec56/debian/patches/genfio-interpreter
and SUSE (https://build.opensuse.org/request/show/541207 ) have been
carrying a patch changing the interpreter for genfio back to /bin/bash
and that's before you get to other OSes such as macOS...

Since /bin/bash works everywhere let's do this upstream too.

Fixes: https://github.com/axboe/fio/pull/883
Inspired-by: Changcheng Liu <changcheng.liu@aliyun.com>
Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
tools/genfio

index 286d814de71506c0c187dd4a6b530b446b54e9b7..8518bbccf33a3111f097eb8221f14dbdb0f5b01b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
 #
 #  Copyright (C) 2013 eNovance SAS <licensing@enovance.com>
 #  Author: Erwan Velu  <erwan@enovance.com>