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:
89f0082
)
[update] : Prohibited optional specifications on rebuild channel.
author
hayao
<shun819.mail@gmail.com>
Fri, 17 Apr 2020 03:52:32 +0000
(12:52 +0900)
committer
hayao
<shun819.mail@gmail.com>
Fri, 17 Apr 2020 03:52:32 +0000
(12:52 +0900)
build.sh
patch
|
blob
|
history
diff --git
a/build.sh
b/build.sh
index
0d96ae7
..
3259674
100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-905,7
+905,12
@@
if [[ -n "${1}" ]]; then
channel_name="${channel_name}.add"
elif [[ ${channel_name} = rebuild ]]; then
if [[ -f "${work_dir}/build_options" ]]; then
- rebuild=true
+ if [[ ! $(( OPTIND - 1 )) = 0 ]]; then
+ echo "Options cannot be specified for the rebuild channel.All options will use the previous settings."
+ exit 1
+ else
+ rebuild=true
+ fi
else
echo "The previous build information is not in the working directory."
exit 1