From 033c086a377dba46b01167a8f29620f0da0ced39 Mon Sep 17 00:00:00 2001 From: Chris Moeller Date: Mon, 7 Apr 2014 17:45:18 -0700 Subject: [PATCH] Fixed gsub in update script --- Scripts/update_feed.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/update_feed.rb b/Scripts/update_feed.rb index f78ea25a6..7167e40d6 100755 --- a/Scripts/update_feed.rb +++ b/Scripts/update_feed.rb @@ -74,7 +74,7 @@ end %x[rm -rf '#{temp_path}/Cog.app' '#{temp_path}/Cog.old' '#{temp_path}/Cog.zip'] #Retrieve the current full package - local_file = "#{appcast_url}".gsub(_https://kode54.net/cog_, '#{site_dir}') + local_file = "#{appcast_url}".gsub(/https:\/\/kode54.net\/cog/, '#{site_dir}') %x[cp '#{local_file}' '#{temp_path}/Cog.zip'] #Unpack and rename