skawarePackages.cleanPackaging: copy docFiles before rm noise
This commit is contained in:
parent
4f6cd4f6c6
commit
8b270a96fa
1 changed files with 2 additions and 2 deletions
|
@ -26,11 +26,11 @@ let
|
|||
writeScript "common-file-actions.sh" ''
|
||||
#!${stdenv.shell}
|
||||
set -e
|
||||
DOCDIR="$1"
|
||||
DOCDIR="''${1?commonFileActions: DOCDIR as argv[1] required}"
|
||||
shopt -s globstar extglob nullglob
|
||||
${rmNoise noiseFiles}
|
||||
mkdir -p "$DOCDIR"
|
||||
${mvDoc docFiles}
|
||||
${rmNoise noiseFiles}
|
||||
'';
|
||||
|
||||
# Shell script to check whether the build directory is empty.
|
||||
|
|
Loading…
Reference in a new issue