Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pcy
sspt
Commits
75ad769f
Commit
75ad769f
authored
Jul 23, 2017
by
PoroCYon
Browse files
fix MORE stuff
parent
4b3c58bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
local/libexec/sspt/sspt-edit
View file @
75ad769f
...
...
@@ -25,8 +25,7 @@ main() {
exit
1
fi
local
PACKAGE_DIR
=
$(
egrep
-e
"^
$ESCAPED_PKG
"
-f
"
$SSPT_SRC_DB_FILE
"
\
| egrep
-v
-o
-e
"^[A-Za-z0-9_
\-\.
]* "
| egrep
-v
-o
-e
" [A-Za-z0-9_
\-\.
]$"
)
local
PACKAGE_DIR
=
"
$SSPT_DL_DIR
/
$ESCAPED_PKG
"
command
-v
"
$EDITOR
"
>
/dev/null 2>&1
&&
"
$EDITOR
"
"
$PACKAGE_DIR
/.sspt"
&&
return
command
-v
"nano"
>
/dev/null 2>&1
&&
"nano"
"
$PACKAGE_DIR
/.sspt"
&&
return
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment