From 938af8f7ebe8b769f0916ebdb19b146d0463409a Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 24 Nov 2019 07:48:33 -0500 Subject: env bash --- bin/muttimage | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/muttimage') diff --git a/bin/muttimage b/bin/muttimage index c798293..a846bea 100755 --- a/bin/muttimage +++ b/bin/muttimage @@ -1,9 +1,9 @@ -#!/bin/bash +#!/usr/bin/env bash #get image resolution resolution=$(identify $1 | awk '{print $3}') IFS='x' # x is set as delimiter -read -ra ADDR <<< "$resolution" +read -ra ADDR <<< "$resolution" width=${ADDR[0]} height=${ADDR[1]} -- cgit v1.2.3