diff options
| author | Kyle Javier | 2021-10-02 00:31:04 -0400 |
|---|---|---|
| committer | Kyle Javier | 2021-10-02 00:31:44 -0400 |
| commit | fea35f529d4395d39fdbfa83a3b0b109411cb130 (patch) | |
| tree | 2ebc26ab711431fce0543ec7cf15ddc7fd903b63 /awesome/autorun.sh | |
| parent | 16b957daf8b789be63a95eb29942ed7d850958e5 (diff) | |
removed bashisms in scripts (now compatible with POSIX-compliant shells)
Diffstat (limited to 'awesome/autorun.sh')
| -rwxr-xr-x | awesome/autorun.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/awesome/autorun.sh b/awesome/autorun.sh index 35d75e2..b44ff96 100755 --- a/awesome/autorun.sh +++ b/awesome/autorun.sh @@ -1,6 +1,6 @@ -#!/usr/bin/env bash +#!/bin/sh -function run { +run () { if ! pgrep -f $1 ; then $@& |
