Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Stop overwriting variable names
· 99bebb24
Joerg Jaspert
authored
Apr 08, 2018
99bebb24
Merge branch 'master' into deploy
· 33c51f25
Joerg Jaspert
authored
Apr 08, 2018
* master: Stop overwriting variable names
33c51f25
Show whitespace changes
Inline
Side-by-side
config/debian/common
View file @
33c51f25
...
...
@@ -127,11 +127,11 @@ function punew_do() {
STAMP
=
${
STAMP
:-
$(
date
"+%Y%m%d%H%M"
)
}
local
exportdir
=
"
${
qdir
}
/tree/
${
STAMP
}
"
local
pp
exportdir
=
"
${
qdir
}
/tree/
${
STAMP
}
"
local
targetdir
=
"
${
qdir
}
/export"
mkdir
-p
--
${
exportdir
}
dak
export
-q
"
${
queue
}
"
-d
"
${
exportdir
}
"
--all
ln
-sfT
${
exportdir
}
${
targetdir
}
mkdir
-p
--
${
pp
exportdir
}
dak
export
-q
"
${
queue
}
"
-d
"
${
pp
exportdir
}
"
--all
ln
-sfT
${
pp
exportdir
}
${
targetdir
}
find
"
${
qdir
}
/tree"
-mindepth
1
-maxdepth
1
-not
-name
"
${
STAMP
}
"
-type
d
-print0
| xargs
--no-run-if-empty
-0
rm
-rf
}
...
...
config/debian/dinstall.functions
View file @
33c51f25
...
...
@@ -210,17 +210,17 @@ function dedup() {
function
mkmaintainers
()
{
local
archiveroot
local
indices
local
mkm
indices
log
'Creating Maintainers index ... '
for
archive
in
"
${
public_archives
[@]
}
"
;
do
archiveroot
=
"
$(
get_archiveroot
"
${
archive
}
"
)
"
indices
=
"
${
archiveroot
}
/indices"
if
!
[[
-d
${
indices
}
]]
;
then
mkdir
"
${
indices
}
"
mkm
indices
=
"
${
archiveroot
}
/indices"
if
!
[[
-d
${
mkm
indices
}
]]
;
then
mkdir
"
${
mkm
indices
}
"
fi
cd
"
${
indices
}
"
cd
"
${
mkm
indices
}
"
rm
-f
Maintainers Maintainers.gz Uploaders Uploaders.gz
dak make-maintainers
-a
"
${
archive
}
"
${
scriptdir
}
/masterfiles/pseudo-packages.maintainers
...
...