|
@@ -136,7 +136,7 @@ copy-tar() {
|
|
|
mkdir temp
|
|
mkdir temp
|
|
|
git -C temp init --quiet
|
|
git -C temp init --quiet
|
|
|
|
|
|
|
|
-bashbrew list "${images[@]}" > temp/_bashbrew-list || :
|
|
|
|
|
|
|
+bashbrew list "${images[@]}" | sort -V > temp/_bashbrew-list || :
|
|
|
for image in "${images[@]}"; do
|
|
for image in "${images[@]}"; do
|
|
|
if script="$(bashbrew cat -f "$template" "$image")"; then
|
|
if script="$(bashbrew cat -f "$template" "$image")"; then
|
|
|
mkdir tar
|
|
mkdir tar
|
|
@@ -151,7 +151,7 @@ git -C temp commit --quiet --allow-empty -m 'initial' || :
|
|
|
git -C oi checkout --quiet pull
|
|
git -C oi checkout --quiet pull
|
|
|
|
|
|
|
|
git -C temp rm --quiet -rf . || :
|
|
git -C temp rm --quiet -rf . || :
|
|
|
-bashbrew list "${images[@]}" > temp/_bashbrew-list || :
|
|
|
|
|
|
|
+bashbrew list "${images[@]}" | sort -V > temp/_bashbrew-list || :
|
|
|
script="$(bashbrew cat -f "$template" "${images[@]}")"
|
|
script="$(bashbrew cat -f "$template" "${images[@]}")"
|
|
|
mkdir tar
|
|
mkdir tar
|
|
|
( eval "$script" | tar -xiC tar )
|
|
( eval "$script" | tar -xiC tar )
|