skawarePackages.cleanPackaging: copy docFiles before rm noise

gstqt5
Profpatsch 2020-05-17 12:01:23 +02:00
parent 4f6cd4f6c6
commit 8b270a96fa
1 changed files with 2 additions and 2 deletions

View File

@ -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.