Skip to content

Commit

Permalink
feat: make scripts portable across unix systems
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-roudaut-crea authored and bouttier committed May 22, 2023
1 parent a5f22b8 commit 4fa9923
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install_app.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

. config/settings.ini || exit 1

Expand Down
2 changes: 1 addition & 1 deletion install_db.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Make sure root cannot run our script
if [ "$(id -u)" == "0" ]; then
echo "This script must NOT be run as root" 1>&2
Expand Down

0 comments on commit 4fa9923

Please sign in to comment.