aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build
diff options
context:
space:
mode:
authorLéo Andrès <leo@ndrs.fr>2018-03-27 09:35:12 +0100
committerChocobozzz <me@florianbigard.com>2018-03-27 10:35:12 +0200
commit0e4ffb4b678962d5ff7a4a7d8952033bc84725da (patch)
treeb116dfe4244f645aa1c4740039544010ef7c3194 /scripts/build
parentd5b7d9110dd637a7f67ce9e430145314812a8df1 (diff)
downloadPeerTube-0e4ffb4b678962d5ff7a4a7d8952033bc84725da.tar.gz
PeerTube-0e4ffb4b678962d5ff7a4a7d8952033bc84725da.tar.zst
PeerTube-0e4ffb4b678962d5ff7a4a7d8952033bc84725da.zip
Clean shell scripts (#398)
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/client.sh6
-rwxr-xr-xscripts/build/server.sh4
2 files changed, 7 insertions, 3 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh
index e3137df37..8e2004c66 100755
--- a/scripts/build/client.sh
+++ b/scripts/build/client.sh
@@ -1,6 +1,8 @@
1#!/bin/bash 1#!/bin/sh
2 2
3cd client || exit -1 3set -eu
4
5cd client
4 6
5rm -rf ./dist ./compiled 7rm -rf ./dist ./compiled
6 8
diff --git a/scripts/build/server.sh b/scripts/build/server.sh
index 811da2154..41b59a212 100755
--- a/scripts/build/server.sh
+++ b/scripts/build/server.sh
@@ -1,4 +1,6 @@
1#!/usr/bin/env sh 1#!/bin/sh
2
3set -eu
2 4
3rm -rf ./dist 5rm -rf ./dist
4 6