emerge-delta-webrsync: fix STATE_DIR for EPREFIX
authorZac Medico <zmedico@gentoo.org>
Mon, 28 Jan 2013 21:45:44 +0000 (13:45 -0800)
committerZac Medico <zmedico@gentoo.org>
Mon, 28 Jan 2013 21:45:44 +0000 (13:45 -0800)
misc/emerge-delta-webrsync

index a782be71d52e960b8ccf2a467225eb7cdefeb535..de0f93e00fd8031eee18d3270e256672600f010b 100755 (executable)
@@ -53,7 +53,7 @@ if [ -z "$NICENESS_PULLED" ]; then
        fi
 fi
 
-STATE_DIR="/var/delta-webrsync/"
+STATE_DIR="${EPREFIX}/var/delta-webrsync/"
 
 # hack.  bug 92224
 if [ "${FETCHCOMMAND/getdelta.sh}" != "${FETCHCOMMAND}" ]; then