commit: 250c885de655ed0b45b76cc35c5782e019b5a0ec
parent: bbbb8e40f52cd05e8bbeec1901990144b87fea55
Author: Morgan Bazalgette <the@howl.moe>
Date: Mon, 9 Apr 2018 21:56:57 +0200
Update build.sh to clear environment before running build
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build.sh b/build.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# Assuming pleroma sits in the upper directory under the dir "pleroma"
rm -rf public/packs public/assets
-npm run build
+env -i "PATH=$PATH" npm run build
cp public/assets/sw.js ../pleroma/priv/static/sw.js
rm -rf ../pleroma/priv/static/packs
cp -r public/packs ../pleroma/priv/static/packs