Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 apt-cacher-ng (0.8.5-1) unstable; urgency=low
 .
   * New upstream version
     + Avoid double slashes in automated downloads (closes: #793356)
     + debian/copyright update (SHA2 implementations, although unused by us)
   * Make sure that service runs on localhost before starting expiration task
     in cron.daily (closes: #794098)
Author: Eduard Bloch <blade@debian.org>
Bug-Debian: https://bugs.debian.org/793356
Bug-Debian: https://bugs.debian.org/794098

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- apt-cacher-ng-0.8.5.orig/scripts/expire-caller.pl
+++ apt-cacher-ng-0.8.5/scripts/expire-caller.pl
@@ -37,7 +37,7 @@ sub toBase64
    {
       # dirty little helper
       $ENV{"TOBASE64"}=$src;
-      return `/usr/lib/apt-cacher-ng/acngtool encb64 "$TOBASE64"`;
+      return `/usr/lib/apt-cacher-ng/acngtool encb64 "\$TOBASE64"`;
    }
 }
 
