From 8d34d6638666768bd1f27860c4bc24c6c7744461 Mon Sep 17 00:00:00 2001 From: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com> Date: Mon, 2 Sep 2019 18:00:18 +0200 Subject: [PATCH] bash (#1359) --- copy-to-apps.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/copy-to-apps.sh b/copy-to-apps.sh index 026e86f49b..9873782af9 100755 --- a/copy-to-apps.sh +++ b/copy-to-apps.sh @@ -1,13 +1,13 @@ -#!/bin/sh +#!/bin/bash function copy_folder () { SRC="packages/$1/build" - DST="apps/node_modules/@polkadot/$2" + DST="../apps/node_modules/@polkadot/$2" - echo "** Copying $SRC to apps/$DST" + echo "** Copying $SRC to $DST" - rm -rf ../$DST - cp -r $SRC ../$DST + rm -rf $DST + cp -r $SRC $DST } yarn polkadot-dev-build-ts