scripts/sequence-patch.sh: Fix the symlink if SCRATCH_AREA ends with "/"
authorMichal Marek <mmarek@suse.cz>
Mon, 21 Jan 2013 09:21:27 +0000 (10:21 +0100)
committerJiri Slaby <jslaby@suse.cz>
Wed, 13 Feb 2013 18:54:11 +0000 (19:54 +0100)
commitb779ee3cec5648e68f63f34f5d51decdb3c06870
treeebec5d7017116b34f7f2606386f6ffa70f5b67f6
parent7d5cb6625a77f08385c6ae7d2fea0d6bba714cb8
scripts/sequence-patch.sh: Fix the symlink if SCRATCH_AREA ends with "/"

The default value of $PATCH_DIR is defined as $SCRATCH_AREA/linux-...,
so we need to subtract $SCRATCH_AREA/ to get the subdirectory name.
Otherwise, sequence-patch.sh -d /path/ would result in a /linux-...
symlink.
scripts/sequence-patch.sh