summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2024-12-24 14:52:51 -0500
committerAndrew Opalach <andrew@akon.city> 2024-12-24 14:52:51 -0500
commit5206f05fdf77bb65c125ddb133cf46a59608c671 (patch)
tree69707685b0245f1db508a6bce98d8ab5399a932c /scripts
parent3d55d2722a3129449ab1418e73abd97caa7fd2ae (diff)
downloadcamu-5206f05fdf77bb65c125ddb133cf46a59608c671.tar.gz
camu-5206f05fdf77bb65c125ddb133cf46a59608c671.tar.bz2
camu-5206f05fdf77bb65c125ddb133cf46a59608c671.zip
Bring in line with dependency changes
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/cmv_add.sh2
-rwxr-xr-xscripts/line_count.sh2
-rwxr-xr-xscripts/run_server.sh1
3 files changed, 4 insertions, 1 deletions
diff --git a/scripts/cmv_add.sh b/scripts/cmv_add.sh
index 26f5547..92de535 100755
--- a/scripts/cmv_add.sh
+++ b/scripts/cmv_add.sh
@@ -12,4 +12,4 @@ do
fi
CMD="$CMD""$EXP\n"
done
-echo -e "$CMD""X" | socat - UNIX-CONNECT:/tmp/cmv_sock
+echo -e "$CMD""X" | socat - UNIX-CONNECT:/tmp/camu_control_sock
diff --git a/scripts/line_count.sh b/scripts/line_count.sh
index 281f765..9da3e7e 100755
--- a/scripts/line_count.sh
+++ b/scripts/line_count.sh
@@ -8,3 +8,5 @@ find ./src -type f \
-not -path "./src/portal/py/tests/*" \
-not -path "./src/portal/vendor/*" \
-exec wc -l {} +
+
+#-exec sed -i 's///g' {} +
diff --git a/scripts/run_server.sh b/scripts/run_server.sh
index 328577a..1508719 100755
--- a/scripts/run_server.sh
+++ b/scripts/run_server.sh
@@ -1,6 +1,7 @@
#! /usr/bin/env sh
export CURL_CA_BUNDLE=/etc/ssl/certs/ca-bundle.crt
export PYTHONDONTWRITEBYTECODE=1
+export PYTHONOPTIMIZE=2
export PYTHONPATH=$HOME/c/camu/src/portal/vendor/vendor
# screen will use $SHELL.
screen -c ../scripts/screenrc