diff options
| author | David Reyna <David.Reyna@windriver.com> | 2017-09-14 16:58:16 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-17 23:24:14 +0100 |
| commit | ce57a391af3c4b7c9c91a65a82eb604a2665e910 (patch) | |
| tree | f4c0622fa1074917c1418c3393d25f30979e48b8 /bitbake/lib/toaster/toastergui/static | |
| parent | d5a109daeaa7a83bfa2c34c45dc01a1579d24893 (diff) | |
| download | poky-ce57a391af3c4b7c9c91a65a82eb604a2665e910.tar.gz | |
bitbake: toaster: allow dots in user path names
The dot '.' character should be allowed in the user paths for
local non-git layers, DL_DIR, and SSTATE_DIR.
[YOCTO #10650]
(Bitbake rev: 9c0f6e81dae0b91b425e6c0cdf64caa5c15d92b5)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/importlayer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/importlayer.js b/bitbake/lib/toaster/toastergui/static/js/importlayer.js index 59652b9a36..296483985a 100644 --- a/bitbake/lib/toaster/toastergui/static/js/importlayer.js +++ b/bitbake/lib/toaster/toastergui/static/js/importlayer.js | |||
| @@ -418,7 +418,7 @@ function importLayerPageInit (ctx) { | |||
| 418 | var input = $(this); | 418 | var input = $(this); |
| 419 | var reBeginWithSlash = /^\//; | 419 | var reBeginWithSlash = /^\//; |
| 420 | var reCheckVariable = /^\$/; | 420 | var reCheckVariable = /^\$/; |
| 421 | var re = /([ <>\\|":\.%\?\*]+)/; | 421 | var re = /([ <>\\|":%\?\*]+)/; |
| 422 | 422 | ||
| 423 | var invalidDir = re.test(input.val()); | 423 | var invalidDir = re.test(input.val()); |
| 424 | var invalidSlash = reBeginWithSlash.test(input.val()); | 424 | var invalidSlash = reBeginWithSlash.test(input.val()); |
