commit 219eff4db73cf9aa2fe3fba6eaeebc1ed20b14fc parent 44398161910ed074bc3f42f03be2e52e29db9596 Author: Jan Pobrislo <ccx@volny.cz> Date: Fri, 21 Feb 2014 14:28:48 +0100 fix missing and push paths Diffstat:
| M | bin/snap.push | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/bin/snap.push b/bin/snap.push @@ -31,8 +31,11 @@ if test -z "$SNAP_DST"; then usage fi +SNAP_SRCS=${SNAP_SRCS%%/} +SNAP_DST=${SNAP_DST%%/} + export SNAP_DST -snap.missing "$SNAP_SRCS" "$SNAP_DST" | while read ts; do +snap.missing "$SNAP_SRCS/" "${SNAP_DST%.push}/" | while read ts; do snap.push.single -S "$SNAP_SRCS/$ts" - "$@" done