GNOME Bugzilla – Bug 795705
meson post-install.sh script fails to run if bash isn't at /usr/bin/bash
Last modified: 2018-05-01 12:28:27 UTC
Created attachment 371562 [details] [review] Possible fix for post-install script My bash in is /bin so the post-install script fails for me. I've attached a possible fix, but I don't know if it's the best way. It works for me though.
Review of attachment 371562 [details] [review]: Thanks for catching this. ::: build-aux/post-install.sh @@ +1,1 @@ +#!/usr/bin/env bash It's probably better to just use `#!/bin/sh`; I was way too conservative, but I'm not using any bashisms.
Created attachment 371563 [details] [review] A patch to solve build problems in some systems. This was the commit I made and created a pull request for on Github, but I deleted the repository.
Created attachment 371565 [details] [review] Change shell to /bin/sh I added the change to /bin/sh option has well.
Review of attachment 371565 [details] [review]: Thanks, this looks good.
Attachment 371565 [details] pushed to master as commit d2098ff6.