summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/cmd/include.sh3
-rw-r--r--src/pro-archman.sh4
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/cmd/include.sh b/lib/cmd/include.sh
index dbd12ea..b84a4e7 100644
--- a/lib/cmd/include.sh
+++ b/lib/cmd/include.sh
@@ -48,7 +48,6 @@ cmd_include_main()
cmd_include()
{
local changes="${1}"
- local archive=
local component=
local suite=
local source_l=
@@ -62,8 +61,6 @@ cmd_include()
local plat=
local feed=
- archive='archive'
-
parse_control "${changes}" cmd_include_changes_field \
"${CMD_INCLUDE_CHANGES_FIELDS}" ''
component='main'
diff --git a/src/pro-archman.sh b/src/pro-archman.sh
index f7b42a6..f438c1d 100644
--- a/src/pro-archman.sh
+++ b/src/pro-archman.sh
@@ -30,6 +30,7 @@ LF='
# Global variables
loading_cmd=
+archive=
# use() must be defined inline so it can be used to load other modules.
use()
@@ -76,6 +77,9 @@ main()
load_locale
load_cmds
+ # FIXME: Make this a command-line option.
+ archive='archive'
+
# FIXME: Read from conf file.
conf_incoming_channel='dev'