summaryrefslogtreecommitdiffstats
path: root/testing2core
diff options
context:
space:
mode:
Diffstat (limited to 'testing2core')
-rwxr-xr-xtesting2core13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing2core b/testing2core
new file mode 100755
index 0000000..417ab0e
--- /dev/null
+++ b/testing2core
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+if [ $# -le 1 ]; then
+ echo "usage: $(basename 0) <arch> <packagename> [<packagename> [<packagename ...]]"
+ exit 0
+fi
+
+arch=$1; shift
+
+for pkg in $@; do
+ echo "==> Moving package '$pkg'"
+ $(dirname $0)/db-move "$pkg" "testing" "core" "$arch"
+done