mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 18:57:35 +04:00
python3-lxml: add package guard to test.sh
The test.sh lacked a package name guard, causing it to run (and fail)
when the -src subpackage was tested without python3 installed.
Add the standard guard to skip the test for non-main packages.
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 5264f85e22)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
1 parent
fbe4677954
commit
849b69e8f8
1 file changed
+2
@@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ "$1" = python3-lxml ] || exit 0
|
||||
|
||||
EXP_VER="$2"
|
||||
|
||||
python3 - << EOF
|
||||
|
||||
Reference in new issue
Block a user