aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2018-05-20 11:23:15 +0200
committerGitHub <noreply@github.com>2018-05-20 11:23:15 +0200
commitd0d14579d1671984b0036ebf4c9e2a8d99792f10 (patch)
tree41c9847a1d50edcb43f1bb2497ea1d0b5616f96e
parentda460ff32f4bebc8c2d7b17b1eb883851114fccc (diff)
parent1509c9682bc23cdb0bfb4f22f3565be261b108d5 (diff)
downloadvolse-hubzilla-d0d14579d1671984b0036ebf4c9e2a8d99792f10.tar.gz
volse-hubzilla-d0d14579d1671984b0036ebf4c9e2a8d99792f10.tar.bz2
volse-hubzilla-d0d14579d1671984b0036ebf4c9e2a8d99792f10.zip
Merge pull request #1170 from waitman/master
shebang portable
-rwxr-xr-xutil/add_addon_repo2
-rwxr-xr-xutil/add_theme_repo2
-rwxr-xr-xutil/add_widget_repo2
-rwxr-xr-xutil/hz2
-rwxr-xr-xutil/run_xgettext.sh2
-rwxr-xr-xutil/shredder/JSON.sh2
-rwxr-xr-xutil/shredder/OAuth.sh2
-rwxr-xr-xutil/shredder/ShredOAuth.sh2
-rwxr-xr-xutil/shredder/shredder2
-rwxr-xr-xutil/udall2
-rwxr-xr-xutil/update_addon_repo2
-rwxr-xr-xutil/update_autoloader3
-rwxr-xr-xutil/update_theme_repo3
-rwxr-xr-xutil/update_widget_repo2
14 files changed, 15 insertions, 15 deletions
diff --git a/util/add_addon_repo b/util/add_addon_repo
index de19bebfe..6bd9686a1 100755
--- a/util/add_addon_repo
+++ b/util/add_addon_repo
@@ -1,4 +1,4 @@
-#!/bin/bash -f
+#!/usr/bin/env bash -f
if [ $# -lt 2 ]; then
echo usage: $0 repo_url nickname
diff --git a/util/add_theme_repo b/util/add_theme_repo
index 1f8e7c1dd..30898dc01 100755
--- a/util/add_theme_repo
+++ b/util/add_theme_repo
@@ -1,4 +1,4 @@
-#!/bin/bash -f
+#!/usr/bin/env bash -f
if [ $# -lt 2 ]; then
echo usage: $0 repo_url nickname
diff --git a/util/add_widget_repo b/util/add_widget_repo
index 4cfd6a170..a8e888cdc 100755
--- a/util/add_widget_repo
+++ b/util/add_widget_repo
@@ -1,4 +1,4 @@
-#!/bin/bash -f
+#!/usr/bin/env bash -f
if [ $# -lt 2 ]; then
echo usage: $0 repo_url nickname
diff --git a/util/hz b/util/hz
index 8a432c30d..c9dc8654f 100755
--- a/util/hz
+++ b/util/hz
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Simple, minimalist command line tool to post status to hubzilla via the API. Requires curl.
# Put it in your path, and sneeze your statuses to the zot network from your shell.
diff --git a/util/run_xgettext.sh b/util/run_xgettext.sh
index 918597882..12556868e 100755
--- a/util/run_xgettext.sh
+++ b/util/run_xgettext.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
FULLPATH=$(dirname $(readlink -f "$0"))
diff --git a/util/shredder/JSON.sh b/util/shredder/JSON.sh
index 20c4d282e..9d110a6fe 100755
--- a/util/shredder/JSON.sh
+++ b/util/shredder/JSON.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# The MIT License
#
# Copyright (c) 2011 Dominic Tarr
diff --git a/util/shredder/OAuth.sh b/util/shredder/OAuth.sh
index 4be4ed35b..07b2b9e1a 100755
--- a/util/shredder/OAuth.sh
+++ b/util/shredder/OAuth.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Copyright (c) 2010, 2012 Yu-Jie Lin
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of
diff --git a/util/shredder/ShredOAuth.sh b/util/shredder/ShredOAuth.sh
index e21bea353..56fd3f722 100755
--- a/util/shredder/ShredOAuth.sh
+++ b/util/shredder/ShredOAuth.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Copyright (c) 2012 Fabio Comuni
# Copyright (c) 2012 Michael Nowack
# Copyright (c) 2010, 2012 Yu-Jie Lin
diff --git a/util/shredder/shredder b/util/shredder/shredder
index 61e6b1fd4..6f5736259 100755
--- a/util/shredder/shredder
+++ b/util/shredder/shredder
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Copyright (c) 2012 Fabio Comuni
# Copyright (c) 2010, 2012 Yu-Jie Lin
#
diff --git a/util/udall b/util/udall
index d1ff1c482..f1d52a1d1 100755
--- a/util/udall
+++ b/util/udall
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
if [ ! -d .git ]; then
echo Unable to update `pwd`
exit
diff --git a/util/update_addon_repo b/util/update_addon_repo
index ba1862f4b..efa46c668 100755
--- a/util/update_addon_repo
+++ b/util/update_addon_repo
@@ -1,4 +1,4 @@
-#!/bin/bash -f
+#!/usr/bin/env bash -f
if [ $# -ne 1 ]; then
echo usage: $0 repository
diff --git a/util/update_autoloader b/util/update_autoloader
index 1a6e8eb8d..1e65bed5c 100755
--- a/util/update_autoloader
+++ b/util/update_autoloader
@@ -1,2 +1,3 @@
-#!/bin/bash -f
+#!/usr/bin/env bash -f
+
composer install --optimize-autoloader --no-dev
diff --git a/util/update_theme_repo b/util/update_theme_repo
index cd71531d0..181bff9c6 100755
--- a/util/update_theme_repo
+++ b/util/update_theme_repo
@@ -1,5 +1,4 @@
-#!/bin/bash -f
-
+#!/usr/bin/env bash -f
if [ $# -ne 1 ]; then
echo usage: $0 repository
diff --git a/util/update_widget_repo b/util/update_widget_repo
index 045122619..542a74b5c 100755
--- a/util/update_widget_repo
+++ b/util/update_widget_repo
@@ -1,4 +1,4 @@
-#!/bin/bash -f
+#!/usr/bin/env bash -f
if [ $# -ne 1 ]; then
echo usage: $0 repository