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:
206336e
)
[update] : Set usage conditions for rebuild channel.
author
hayao
<shun819.mail@gmail.com>
Fri, 17 Apr 2020 02:57:06 +0000
(11:57 +0900)
committer
hayao
<shun819.mail@gmail.com>
Fri, 17 Apr 2020 02:57:06 +0000
(11:57 +0900)
build.sh
patch
|
blob
|
history
diff --git
a/build.sh
b/build.sh
index
d312c4f
..
0d96ae7
100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-904,7
+904,12
@@
if [[ -n "${1}" ]]; then
if [[ -d "${script_path}"/channels/${channel_name}.add ]] && [[ ! -d "${script_path}"/channels/${channel_name} ]]; then
channel_name="${channel_name}.add"
elif [[ ${channel_name} = rebuild ]]; then
- rebuild=true
+ if [[ -f "${work_dir}/build_options" ]]; then
+ rebuild=true
+ else
+ echo "The previous build information is not in the working directory."
+ exit 1
+ fi
fi
fi