Skip to content

The open-source app everyone uses to manage agents at work

scripts

Dotta8f8cc5ad916c
diff --git a/scripts/clean-onboard-git.sh b/scripts/clean-onboard-git.sh
old mode 100644
new mode 100755
index 567e651fdd..a662b57f18
--- a/scripts/clean-onboard-git.sh
+++ b/scripts/clean-onboard-git.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -ex
export PC_TEST_ROOT="$(mktemp -d /tmp/paperclip-clean.XXXXXX)"
export PC_HOME="$PC_TEST_ROOT/home"
export PC_CACHE="$PC_TEST_ROOT/npm-cache"
diff --git a/scripts/clean-onboard-npm.sh b/scripts/clean-onboard-npm.sh
old mode 100644
new mode 100755
index 1b84868ff2..039fad7cd1
--- a/scripts/clean-onboard-npm.sh
+++ b/scripts/clean-onboard-npm.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -ex
export PC_TEST_ROOT="$(mktemp -d /tmp/paperclip-clean.XXXXXX)"
export PC_HOME="$PC_TEST_ROOT/home"
export PC_CACHE="$PC_TEST_ROOT/npm-cache"