Commit 88e8aa37 authored by intrigeri's avatar intrigeri
Browse files

apt-mirror: re-use cached $BASE_BRANCH value instead of re-computing it.

parent 7125665c
......@@ -58,7 +58,7 @@ if [ "$BASE_BRANCH" = stable ] || [ "$BASE_BRANCH" = testing ] || [ "$CURRENT_BR
output_time_based_snapshot "$ARCHIVE" "$RESOLVED_SERIAL"
fi
else
if [ "$(base_branch)" = devel ] || [ "$CURRENT_BRANCH" = feature/stretch ]; then
if [ "$BASE_BRANCH" = devel ] || [ "$CURRENT_BRANCH" = feature/stretch ]; then
if [ "$SERIAL" != latest ]; then
fatal "APT snapshots are frozen, which should happen neither on" \
"feature/stretch nor on a branch based on the devel one"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment