summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-05-05 23:18:39 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2008-05-05 23:18:39 +0200
commit79e7365c6afdd0010cc5b64d63099c673320fe6e (patch)
tree8360c5f9c35592d4c6e281cb4d4e360dce1ce7f7
parent6cb8979c4e48ec86df7b0740cb49f0fe42997f1a (diff)
downloaddbscripts-79e7365c6afdd0010cc5b64d63099c673320fe6e.tar.gz
dbscripts-79e7365c6afdd0010cc5b64d63099c673320fe6e.tar.xz
Switch the params to be inline with archrelease
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xdb-core2
-rwxr-xr-xdb-core642
-rwxr-xr-xdb-extra2
-rwxr-xr-xdb-extra642
-rwxr-xr-xdb-testing2
-rwxr-xr-xdb-testing642
-rwxr-xr-xdb-unstable2
-rwxr-xr-xdb-unstable642
-rwxr-xr-xdb-update4
9 files changed, 10 insertions, 10 deletions
diff --git a/db-core b/db-core
index f14bfab..b88fcae 100755
--- a/db-core
+++ b/db-core
@@ -1,3 +1,3 @@
#!/bin/bash
-$(dirname $0)/db-update "i686" "core"
+$(dirname $0)/db-update "core" "i686"
diff --git a/db-core64 b/db-core64
index f14bfab..e080004 100755
--- a/db-core64
+++ b/db-core64
@@ -1,3 +1,3 @@
#!/bin/bash
-$(dirname $0)/db-update "i686" "core"
+$(dirname $0)/db-update "core" "x86_64"
diff --git a/db-extra b/db-extra
index 99c7b8f..1375b13 100755
--- a/db-extra
+++ b/db-extra
@@ -1,3 +1,3 @@
#!/bin/bash
-$(dirname $0)/db-update "i686" "extra"
+$(dirname $0)/db-update "extra" "i686"
diff --git a/db-extra64 b/db-extra64
index 5c183e9..cfa20a2 100755
--- a/db-extra64
+++ b/db-extra64
@@ -1,3 +1,3 @@
#!/bin/bash
-$(dirname $0)/db-update "x86_64" "extra"
+$(dirname $0)/db-update "extra" "x86_64"
diff --git a/db-testing b/db-testing
index e2fe01d..69b5376 100755
--- a/db-testing
+++ b/db-testing
@@ -1,3 +1,3 @@
#!/bin/bash
-$(dirname $0)/db-update "i686" "testing"
+$(dirname $0)/db-update "testing" "i686"
diff --git a/db-testing64 b/db-testing64
index 244372b..d75a456 100755
--- a/db-testing64
+++ b/db-testing64
@@ -1,3 +1,3 @@
#!/bin/bash
-$(dirname $0)/db-update "x86_64" "testing"
+$(dirname $0)/db-update "testing" "x86_64"
diff --git a/db-unstable b/db-unstable
index a9aa49c..2a2df43 100755
--- a/db-unstable
+++ b/db-unstable
@@ -1,4 +1,4 @@
#!/bin/bash
-$(dirname $0)/db-update "i686" "unstable"
+$(dirname $0)/db-update "unstable" "i686"
diff --git a/db-unstable64 b/db-unstable64
index d9448ab..cd9c3a0 100755
--- a/db-unstable64
+++ b/db-unstable64
@@ -1,4 +1,4 @@
#!/bin/bash
-$(dirname $0)/db-update "x86_64" "unstable"
+$(dirname $0)/db-update "unstable" "x86_64"
diff --git a/db-update b/db-update
index 766a2d5..6c9af1a 100755
--- a/db-update
+++ b/db-update
@@ -13,8 +13,8 @@ else
exit 1
fi
-arch="$1"
-reponame="$2"
+reponame="$1"
+arch="$2"
export CARCH="$arch"