OSDN Git Service
(root)
/
alterlinux
/
alterlinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe1ce6b
)
[fix] : Fixed channel directory check
author
hayao
<hayao@fascode.net>
Fri, 6 Aug 2021 16:24:17 +0000
(
01:24
+0900)
committer
hayao
<hayao@fascode.net>
Fri, 6 Aug 2021 16:24:17 +0000
(
01:24
+0900)
tools/channel.sh
patch
|
blob
|
history
diff --git
a/tools/channel.sh
b/tools/channel.sh
index
71397cf
..
72bd041
100755
(executable)
--- a/
tools/channel.sh
+++ b/
tools/channel.sh
@@
-128,8
+128,8
@@
check() {
#echo "correct"
exit 0
elif [[ -d "${1}" ]] && [[ -n $(ls "${1}") ]]; then
-
local
_channel_name="$(basename "${1%/}")"
- if
! check_alteriso_version "${_channel
}" || [[ "${opt_nochkver}" = true ]]; then
+ _channel_name="$(basename "${1%/}")"
+ if
check_alteriso_version "${_channel_name
}" || [[ "${opt_nochkver}" = true ]]; then
#echo "directory"
exit 1
else