diff options
-rwxr-xr-x | scripts/bitbake-prserv-tool | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/bitbake-prserv-tool b/scripts/bitbake-prserv-tool index 28c2416bfe..fa31b52584 100755 --- a/scripts/bitbake-prserv-tool +++ b/scripts/bitbake-prserv-tool | |||
@@ -86,6 +86,15 @@ do_migrate_localcount () | |||
86 | 86 | ||
87 | [ $# -eq 0 ] && help && exit 1 | 87 | [ $# -eq 0 ] && help && exit 1 |
88 | 88 | ||
89 | case $2 in | ||
90 | *.conf|*.inc) | ||
91 | ;; | ||
92 | *) | ||
93 | echo ERROR: $2 must end with .conf or .inc! | ||
94 | exit 1 | ||
95 | ;; | ||
96 | esac | ||
97 | |||
89 | case $1 in | 98 | case $1 in |
90 | export) | 99 | export) |
91 | do_export $2 | 100 | do_export $2 |