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)
committerMichal Marek <mmarek@suse.cz>
Mon, 21 Jan 2013 09:21:27 +0000 (10:21 +0100)
commit98518e2d93488951dcb4c4989e44c932c779f508
tree050f2d8088d043369b8af5a29087dac322663714
parent32a7d1d973e00618ffb4c21c48dba66d670a0374
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