work outside of the srctree
This commit is contained in:
parent
03e78e75f3
commit
819b56b64a
1 changed files with 2 additions and 1 deletions
|
@ -4,12 +4,13 @@
|
||||||
# Copyright 2006 by Mike Frysinger <vapier@gentoo.org>
|
# Copyright 2006 by Mike Frysinger <vapier@gentoo.org>
|
||||||
# Licensed under GPL v2, see file LICENSE for details.
|
# Licensed under GPL v2, see file LICENSE for details.
|
||||||
|
|
||||||
|
[ -n "$srcdir" ] || srcdir=$(pwd)
|
||||||
. testing.sh
|
. testing.sh
|
||||||
|
|
||||||
# verify the applet order is correct in applets.h, otherwise
|
# verify the applet order is correct in applets.h, otherwise
|
||||||
# applets won't be called properly.
|
# applets won't be called properly.
|
||||||
sed -n -e '/^USE_[A-Z]*(APPLET(/{s:.*(::;s:,.*::;s:"::g;p}' \
|
sed -n -e '/^USE_[A-Z]*(APPLET(/{s:.*(::;s:,.*::;s:"::g;p}' \
|
||||||
../include/applets.h > applet.order.current
|
$srcdir/../include/applets.h > applet.order.current
|
||||||
LC_ALL=C sort applet.order.current > applet.order.correct
|
LC_ALL=C sort applet.order.current > applet.order.correct
|
||||||
testing "Applet order" "diff -u applet.order.current applet.order.correct" "" "" ""
|
testing "Applet order" "diff -u applet.order.current applet.order.correct" "" "" ""
|
||||||
rm -f applet.order.current applet.order.correct
|
rm -f applet.order.current applet.order.correct
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue