chomper icon indicating copy to clipboard operation
chomper copied to clipboard

Move bash executable comment to top of script to allow for fish shell execution

Open davetorbeck opened this issue 6 years ago • 1 comments

# Copyright: (c) 2018, Aniket Panjwani <[email protected]>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#!/bin/bash

The first two comment lines for the license in the chomper/bin/chomper bash script will cause an error when executed in fish shell.

$ /home/david/chomper/bin/chomper nosocial 3
Failed to execute process '/home/david/chomper/bin/chomper'. Reason:
exec: Exec format error
The file '/home/david/chomper/bin/chomper' is marked as an executable but could not be run by the operating system.

Moving #!bin/bash/ to the top of the script allows execution within fish shell.

davetorbeck avatar Jun 22 '18 04:06 davetorbeck

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jun 22 '18 04:06 CLAassistant