updates
Browse files- scripts/upload.sh +6 -0
scripts/upload.sh
CHANGED
@@ -1,5 +1,11 @@
|
|
1 |
#!/usr/bin/env bash
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
set -e
|
4 |
|
5 |
FILE=$(readlink -f "$1")
|
|
|
1 |
#!/usr/bin/env bash
|
2 |
|
3 |
+
if [ "$TRUEPIC_DEBUG" = "2" ]; then
|
4 |
+
set -xeo pipefail
|
5 |
+
else
|
6 |
+
set -eo pipefail
|
7 |
+
fi
|
8 |
+
|
9 |
set -e
|
10 |
|
11 |
FILE=$(readlink -f "$1")
|