snaprep

git mirror of https://ccx.te2000.cz/bzr/snaprep
git clone https://ccx.te2000.cz/git/snaprep
Log | Files | Refs

commit 1e9c274cd4ef265757100e496ea49f2a8877ada6
parent 42fee7c70152f68054a546df28e21c677662a627
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Thu, 27 Feb 2014 00:38:29 +0100

fix typo
Diffstat:
Mbin/snap.push.single | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/snap.push.single b/bin/snap.push.single @@ -68,7 +68,7 @@ push_local() { test -d "$SNAP_DST" || die "destination not a directory: ${SNAP_DST}" snapshot=$(snap.list "$SNAP_DST/" | tail -1) if test -n "$snapshot"; then - link=${SNAP_DST}/${snapshots} + link=${SNAP_DST}/${snapshot} rs "$@" "--link-dest=$link/" "$SNAP_SRC/" "$SNAP_DST/$ts/" || exit $? else rs "$@" "$SNAP_SRC/" "$SNAP_DST/$ts/" || exit $?