From c96726d494a6bb6b3264f8e8bccd1409a0efe8c6 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 3 Mar 2016 05:30:42 +0100 Subject: Allow dots in the script names --- spline-startup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spline-startup b/spline-startup index 40cf49f..9420e5d 100755 --- a/spline-startup +++ b/spline-startup @@ -117,7 +117,8 @@ class SplineStartup(object): args = [] if reverse: args.append('--reverse') - cmd = ['run-parts', '--list'] + args + ['--', directory] + cmd = ['run-parts', '--list', '--regex', '^[a-zA-Z0-9_.-]+$'] + \ + args + ['--', directory] self._pinfo('Getting scripts: %s' % ' '.join(cmd)) proc = Popen(cmd, stdout=PIPE, stderr=STDOUT) -- cgit v1.2.3-1-g7c22