OSDN Git Service
(root)
/
alterlinux
/
aptpac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3aeb4ab
)
[fix] : Fixed SC2086
author
hayao
<hayao@fascode.net>
Sat, 3 Apr 2021 08:13:17 +0000
(17:13 +0900)
committer
hayao
<hayao@fascode.net>
Sat, 3 Apr 2021 08:13:17 +0000
(17:13 +0900)
aptpac
patch
|
blob
|
history
diff --git
a/aptpac
b/aptpac
index
1439134
..
1c0c9f1
100755
(executable)
--- a/
aptpac
+++ b/
aptpac
@@
-115,7
+115,7
@@
_usage () {
}
_exit () {
- exit
${1}
+ exit
"${1}"
}
_version () {
@@
-263,7
+263,7
@@
if [[ "${direct_option}" = false ]]; then
;;
edit-sources)
if [[ -n "${EDITOR}" ]]; then
- sudo
${EDITOR}
"${PACMAN_CONFIG}"
+ sudo
"${EDITOR}"
"${PACMAN_CONFIG}"
else
sudo nano "${PACMAN_CONFIG}"
fi