Kaydet (Commit) 2b78b9fe authored tarafından Markus Mohrhard's avatar Markus Mohrhard

updater: fix the handling of ~ in the update config

Change-Id: I5c07039e336de9362fdd92be29de516da0846998
üst 8d74698f
...@@ -659,7 +659,7 @@ sub replace_setup_variables ...@@ -659,7 +659,7 @@ sub replace_setup_variables
my $updatechannel = ""; my $updatechannel = "";
if ( $ENV{'UPDATE_CONFIG'} && $ENV{'UPDATE_CONFIG'} ne "") if ( $ENV{'UPDATE_CONFIG'} && $ENV{'UPDATE_CONFIG'} ne "")
{ {
open(CONFIG, $ENV{'UPDATE_CONFIG'}); open(CONFIG, glob($ENV{'UPDATE_CONFIG'}));
while (<CONFIG>) while (<CONFIG>)
{ {
chomp; chomp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment