From 14ecec028959cfb4a9563b80dbc53e004a2b275e Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sat, 18 Feb 2017 11:07:56 +0100 Subject: [PATCH] [Done] Usage of /usr/bin/env instead of shortcuts --- lib/api/deploy | 2 +- lib/api/fetch | 2 +- lib/api/sync | 2 +- lib/cyclic-hash/decr | 2 +- lib/cyclic-hash/hash | 2 +- lib/cyclic-hash/new | 2 +- lib/mfrc522/loop | 2 +- lib/mfrc522/read | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/api/deploy b/lib/api/deploy index 325c5da..edc3aee 100755 --- a/lib/api/deploy +++ b/lib/api/deploy @@ -1,3 +1,3 @@ #!/bin/sh -php $(realpath $(dirname $0))/source/deploy.php; +/usr/bin/env php $(realpath $(dirname $0))/source/deploy.php; diff --git a/lib/api/fetch b/lib/api/fetch index d0b1d8d..c2c5e4e 100755 --- a/lib/api/fetch +++ b/lib/api/fetch @@ -1,3 +1,3 @@ #!/bin/sh -php $(realpath $(dirname $0))/source/fetch.php; +/usr/bin/env php $(realpath $(dirname $0))/source/fetch.php; diff --git a/lib/api/sync b/lib/api/sync index 080f13e..bceff8a 100755 --- a/lib/api/sync +++ b/lib/api/sync @@ -1,3 +1,3 @@ #!/bin/sh -php $(realpath $(dirname $0))/source/sync.php; +/usr/bin/env php $(realpath $(dirname $0))/source/sync.php; diff --git a/lib/cyclic-hash/decr b/lib/cyclic-hash/decr index 2a78700..41f572b 100755 --- a/lib/cyclic-hash/decr +++ b/lib/cyclic-hash/decr @@ -1,3 +1,3 @@ #!/bin/sh -php $(realpath $(dirname $0))/source/decr.php; +/usr/bin/env php $(realpath $(dirname $0))/source/decr.php; diff --git a/lib/cyclic-hash/hash b/lib/cyclic-hash/hash index ffe1d47..936e7ef 100755 --- a/lib/cyclic-hash/hash +++ b/lib/cyclic-hash/hash @@ -1,3 +1,3 @@ #!/bin/sh -php $(realpath $(dirname $0))/source/hash.php; +/usr/bin/env php $(realpath $(dirname $0))/source/hash.php; diff --git a/lib/cyclic-hash/new b/lib/cyclic-hash/new index 4e2befe..f079dc7 100755 --- a/lib/cyclic-hash/new +++ b/lib/cyclic-hash/new @@ -1,3 +1,3 @@ #!/bin/sh -php $(realpath $(dirname $0))/source/new.php; +/usr/bin/env php $(realpath $(dirname $0))/source/new.php; diff --git a/lib/mfrc522/loop b/lib/mfrc522/loop index 81c9584..4b0a07a 100755 --- a/lib/mfrc522/loop +++ b/lib/mfrc522/loop @@ -1,3 +1,3 @@ #!/bin/sh -php $(realpath $(dirname $0))/source/loop.php; +/usr/bin/env php $(realpath $(dirname $0))/source/loop.php; diff --git a/lib/mfrc522/read b/lib/mfrc522/read index 179a067..ad86c88 100755 --- a/lib/mfrc522/read +++ b/lib/mfrc522/read @@ -1,3 +1,3 @@ #!/bin/sh -python $(realpath $(dirname $0))/source/read.py; +/usr/bin/env python $(realpath $(dirname $0))/source/read.py;