Skip to content

Commit 8b270a9

Browse files
committed
skawarePackages.cleanPackaging: copy docFiles before rm noise
1 parent 4f6cd4f commit 8b270a9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkgs/build-support/skaware/clean-packaging.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ let
2626
writeScript "common-file-actions.sh" ''
2727
#!${stdenv.shell}
2828
set -e
29-
DOCDIR="$1"
29+
DOCDIR="''${1?commonFileActions: DOCDIR as argv[1] required}"
3030
shopt -s globstar extglob nullglob
31-
${rmNoise noiseFiles}
3231
mkdir -p "$DOCDIR"
3332
${mvDoc docFiles}
33+
${rmNoise noiseFiles}
3434
'';
3535

3636
# Shell script to check whether the build directory is empty.

0 commit comments

Comments
 (0)