We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1b8d140 + 43cee85 commit ab7d28bCopy full SHA for ab7d28b
python/ql/src/experimental/Security-new-dataflow/promote.sh
@@ -0,0 +1,13 @@
1
+#!/bin/bash
2
+set -Eeuo pipefail # see https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
3
+
4
+# Promotes new dataflow queries to be the real ones
5
6
+SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
7
8
+cd $SCRIPTDIR
9
+for file in $(find . -mindepth 2); do
10
+ echo "Promoting $file"
11
+ mkdir -p "../../Security/$(dirname $file)"
12
+ mv "$file" "../../Security/${file}"
13
+done
0 commit comments