Skip to content

Commit

Permalink
FreeBSD compatibility #1175
Browse files Browse the repository at this point in the history
  • Loading branch information
dennissiemensma committed Nov 1, 2020
1 parent b40bec5 commit e6d7259
Show file tree
Hide file tree
Showing 42 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

export GIT_PAGER=cat

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def handle(self, **options):

current_app = None
latest_line = None
lock_content = "#!/bin/bash\n\n"
lock_content = "#!/usr/bin/env bash\n\n"
lock_content += "# Dump for DSMR-reader v{}\n".format(settings.DSMRREADER_VERSION)

for line in self._intercept_command_stdout('showmigrations', no_color=True).split("\n"):
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v2.13.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v2.13
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v2.14.1.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v2.14.1
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v2.14.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v2.14
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v2.15.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v2.15
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v3.0.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v3.0
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v3.1.1.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v3.1.1
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v3.1.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v3.1
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v3.10.1.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v3.10.1
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v3.10.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v3.10
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v3.11.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v3.11
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v3.12.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v3.12
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v3.2.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v3.2
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v3.3.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v3.3
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v3.4.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v3.4
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v3.5.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v3.5
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v3.6.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v3.6
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v3.7.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v3.7
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v3.8.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v3.8
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v3.9.1.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v3.9.1
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v3.9.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v3.9
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v4.0.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v4.0
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v4.1.1.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v4.1.1
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v4.1.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v4.1
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v4.2.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v4.2
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v4.3.1.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v4.3.1
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v4.3.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v4.3
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v4.4.1.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v4.4.1
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v4.4.2.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v4.4.2
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v4.4.3.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v4.4.3
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v4.4.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v4.4
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v4.5.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v4.5
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v4.6.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Dump for DSMR-reader v4.6
./manage.py migrate dsmr_api 0003_create_api_user
Expand Down
2 changes: 1 addition & 1 deletion post-deploy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

echo ""
echo ""
Expand Down
2 changes: 1 addition & 1 deletion pre-deploy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

echo ""
echo ""
Expand Down
2 changes: 1 addition & 1 deletion reload.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash


# Sending a HANGUP signal to Gunicorn's master process will gracefully reload its children.
Expand Down
2 changes: 1 addition & 1 deletion tools/apply-autopep8.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

CURRENT_DIR=$(cd `dirname $0` && pwd)
cd $CURRENT_DIR/../
Expand Down
2 changes: 1 addition & 1 deletion tools/clear-po-headers.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

CURRENT_DIR=$(cd `dirname $0` && pwd)

Expand Down
2 changes: 1 addition & 1 deletion tools/generate-secret-key.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
### Generates a new DJANGO_SECRET_KEY for the local installation

CURRENT_DIR=$(cd `dirname $0` && pwd)
Expand Down
2 changes: 1 addition & 1 deletion tools/quick-test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

ARGS=""

Expand Down
2 changes: 1 addition & 1 deletion tools/test-all.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash


echo ""
Expand Down

0 comments on commit e6d7259

Please sign in to comment.