Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Change bash to sh

drozdowskyf8858dcd8b33
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 03f25be7e0..72197aaf64 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -40,7 +40,7 @@ repos:
- id: migrations-check
language: system
name: Check for uncreated migrations.
- entry: bash -c "./manage.py makemigrations --check --dry-run"
+ entry: sh -c "./manage.py makemigrations --check --dry-run"
files: "models\\.py$"
stages: [commit]
@@ -49,5 +49,5 @@ repos:
- id: gql-schema-check
language: system
name: Check for up-to-date GraphQL schema.
- entry: bash -c "./manage.py get_graphql_schema | diff saleor/graphql/schema.graphql -"
+ entry: sh -c "./manage.py get_graphql_schema | diff saleor/graphql/schema.graphql -"
stages: [commit]
diff --git a/scripts/push_static.sh b/scripts/push_static.sh
index e90d7c42db..b935eb9149 100755
--- a/scripts/push_static.sh
+++ b/scripts/push_static.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# Push static to AWS S3