checksyscalls: Fix stand-alone usage
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 25 Aug 2010 10:22:40 +0000 (12:22 +0200)
committerMichal Marek <mmarek@suse.cz>
Mon, 20 Dec 2010 14:40:33 +0000 (15:40 +0100)
commit6e5f6856427abe5418f535cb46c454ae8ea7f8e7
treefdf36a314aec16b88ede6b02ca4dbfea6895331b
parent1121584f5db8a99a7ad94c6c5d62431b3187ad98
checksyscalls: Fix stand-alone usage

The usage help in the comments
  - refers to the wrong script name,
  - doesn't mention that $srctree must be set.

Hence correct the script name, and derive the source tree path from the script
path, so we no longer need to rely on $srctree being set by the caller.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/checksyscalls.sh