From: Chocobozzz Date: Wed, 5 May 2021 08:56:40 +0000 (+0200) Subject: Use bash for scripts X-Git-Tag: v3.2.0-rc.1~54 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=f463e2dfc00a0d5b5300ed74d2f24fbe9caef8ea;p=github%2FChocobozzz%2FPeerTube.git Use bash for scripts --- diff --git a/package.json b/package.json index 8552a9d60..2c4c478ac 100644 --- a/package.json +++ b/package.json @@ -25,25 +25,25 @@ }, "typings": "*.d.ts", "scripts": { - "e2e": "sh ./scripts/e2e/index.sh", - "e2e:local": "sh ./scripts/e2e/local.sh", - "setup:cli": "sh ./scripts/setup/cli.sh", - "build": "sh ./scripts/build/index.sh", - "build:embed": "sh ./scripts/build/embed.sh", - "build:server": "sh ./scripts/build/server.sh", - "build:client": "sh ./scripts/build/client.sh", - "clean:client": "sh ./scripts/clean/client/index.sh", - "clean:server:test": "sh ./scripts/clean/server/test.sh", - "i18n:update": "sh ./scripts/i18n/update.sh", + "e2e": "bash ./scripts/e2e/index.sh", + "e2e:local": "bash ./scripts/e2e/local.sh", + "setup:cli": "bash ./scripts/setup/cli.sh", + "build": "bash ./scripts/build/index.sh", + "build:embed": "bash ./scripts/build/embed.sh", + "build:server": "bash ./scripts/build/server.sh", + "build:client": "bash ./scripts/build/client.sh", + "clean:client": "bash ./scripts/clean/client/index.sh", + "clean:server:test": "bash ./scripts/clean/server/test.sh", + "i18n:update": "bash ./scripts/i18n/update.sh", "plugin:install": "node ./dist/scripts/plugin/install.js", "plugin:uninstall": "node ./dist/scripts/plugin/uninstall.js", "i18n:create-custom-files": "node ./dist/scripts/i18n/create-custom-files.js", "reset-password": "node ./dist/scripts/reset-password.js", - "dev": "sh ./scripts/dev/index.sh", - "dev:server": "sh ./scripts/dev/server.sh", - "dev:embed": "sh ./scripts/dev/embed.sh", - "dev:client": "sh ./scripts/dev/client.sh", - "dev:cli": "sh ./scripts/dev/cli.sh", + "dev": "bash ./scripts/dev/index.sh", + "dev:server": "bash ./scripts/dev/server.sh", + "dev:embed": "bash ./scripts/dev/embed.sh", + "dev:client": "bash ./scripts/dev/client.sh", + "dev:cli": "bash ./scripts/dev/cli.sh", "start": "node dist/server", "start:server": "node dist/server --no-client", "update-host": "node ./dist/scripts/update-host.js", @@ -51,9 +51,9 @@ "regenerate-thumbnails": "node ./dist/scripts/regenerate-thumbnails.js", "create-import-video-file-job": "node ./dist/scripts/create-import-video-file-job.js", "print-transcode-command": "node ./dist/scripts/print-transcode-command.js", - "test": "sh ./scripts/test.sh", - "help": "sh ./scripts/help.sh", - "generate-cli-doc": "sh ./scripts/generate-cli-doc.sh", + "test": "bash ./scripts/test.sh", + "help": "bash ./scripts/help.sh", + "generate-cli-doc": "bash ./scripts/generate-cli-doc.sh", "parse-log": "node ./dist/scripts/parse-log.js", "prune-storage": "node ./dist/scripts/prune-storage.js", "optimize-old-videos": "node ./dist/scripts/optimize-old-videos.js", @@ -67,12 +67,12 @@ "eslint": "eslint", "concurrently": "concurrently", "mocha": "mocha", - "ci": "sh ./scripts/ci.sh", - "release": "sh ./scripts/release.sh", - "release-embed-api": "sh ./scripts/release-embed-api.sh", - "nightly": "sh ./scripts/nightly.sh", - "openapi-clients": "sh ./scripts/openapi-clients.sh", - "client-report": "sh ./scripts/client-report.sh", + "ci": "bash ./scripts/ci.sh", + "release": "bash ./scripts/release.sh", + "release-embed-api": "bash ./scripts/release-embed-api.sh", + "nightly": "bash ./scripts/nightly.sh", + "openapi-clients": "bash ./scripts/openapi-clients.sh", + "client-report": "bash ./scripts/client-report.sh", "swagger-cli": "swagger-cli" }, "dependencies": {