scripts: make absolute paths consistent

Change absolute binary paths in scripts to /usr/bin/env or make them
relative.
This allows the scripts to be used on linux distributions
like NixOS, where binaries are not located in /usr/ or /bin/.
This commit is contained in:
Fabian Möller 2018-01-25 12:11:32 +01:00 committed by Nick Craig-Wood
parent d016438243
commit 1f5e23aedb
5 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
SHELL = /bin/bash
SHELL = bash
TAG := $(shell echo `git describe --abbrev=8 --tags`-`git rev-parse --abbrev-ref HEAD` | sed 's/-\([0-9]\)-/-00\1-/; s/-\([0-9][0-9]\)-/-0\1-/; s/-\(HEAD\|master\)$$//')
LAST_TAG := $(shell git describe --tags --abbrev=0)
NEW_TAG := $(shell echo $(LAST_TAG) | perl -lpe 's/v//; $$_ += 0.01; $$_ = sprintf("v%.2f", $$_)')

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
"""
This is a tool to decrypt file names in rclone logs.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
"""
Make single page versions of the documentation for release and
conversion into man pages etc.

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Upload a release
#

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
exec rclone --check-normalization=true --check-control=true --check-length=true info \
/tmp/testInfo \
TestAmazonCloudDrive:testInfo \