projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48dbf6b
)
setup-all-dchroots: move DPKGARCH to where it's used
author
Peter Palfrader
<peter@palfrader.org>
Thu, 16 Aug 2018 08:07:17 +0000
(10:07 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Thu, 16 Aug 2018 08:07:17 +0000
(10:07 +0200)
modules/schroot/files/setup-all-dchroots
patch
|
blob
|
history
diff --git
a/modules/schroot/files/setup-all-dchroots
b/modules/schroot/files/setup-all-dchroots
index
a5e6094
..
7ff84b4
100755
(executable)
--- a/
modules/schroot/files/setup-all-dchroots
+++ b/
modules/schroot/files/setup-all-dchroots
@@
-28,8
+28,6
@@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
-DPKGARCH=$(dpkg --print-architecture)
-
get_suites() {
case "$1" in
amd64|i386|armel|armhf)
@@
-131,10
+129,10
@@
else
SILENT="chronic"
fi
-
-# get list of archs based on DPKGARCH
+# get list of archs based on dpkg architecture
##########
-archs="$DPKGARCH"
+DPKGARCH=$(dpkg --print-architecture)
+archs="DPKGARCH"
case "$DPKGARCH" in
amd64)
archs="$archs i386"