diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2016-03-03 05:30:42 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2016-03-03 05:31:28 +0100 |
commit | c96726d494a6bb6b3264f8e8bccd1409a0efe8c6 (patch) | |
tree | f748888dfe6c88cf88c1a7a6be807ef562c154f1 | |
parent | f1fb53c08916905b76cccad63535f11822b3c108 (diff) | |
download | spline-startup-c96726d494a6bb6b3264f8e8bccd1409a0efe8c6.tar.gz spline-startup-c96726d494a6bb6b3264f8e8bccd1409a0efe8c6.tar.bz2 spline-startup-c96726d494a6bb6b3264f8e8bccd1409a0efe8c6.zip |
Allow dots in the script names
-rwxr-xr-x | spline-startup | 3 |
1 files changed, 2 insertions, 1 deletions
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) |