diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-05-28 06:27:31 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-05-28 06:27:31 +0000 |
commit | f70798352d176c573ee3d91ca01008b474e6cd80 (patch) | |
tree | 4c3e67ab189d39a6ba516f8af501693fa83fb16a /lib/make-iso9660-image.sh | |
parent | 62675aa0cf1e98eb8caa66175f67378a0caf18b5 (diff) | |
download | nixpkgs-f70798352d176c573ee3d91ca01008b474e6cd80.tar nixpkgs-f70798352d176c573ee3d91ca01008b474e6cd80.tar.gz nixpkgs-f70798352d176c573ee3d91ca01008b474e6cd80.tar.bz2 nixpkgs-f70798352d176c573ee3d91ca01008b474e6cd80.tar.lz nixpkgs-f70798352d176c573ee3d91ca01008b474e6cd80.tar.xz nixpkgs-f70798352d176c573ee3d91ca01008b474e6cd80.tar.zst nixpkgs-f70798352d176c573ee3d91ca01008b474e6cd80.zip |
* Don't include an empty `nix-path-registration' on the CD.
svn path=/nixos/trunk/; revision=22030
Diffstat (limited to 'lib/make-iso9660-image.sh')
-rw-r--r-- | lib/make-iso9660-image.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/make-iso9660-image.sh b/lib/make-iso9660-image.sh index 3305b8856e2..01b0fafa112 100644 --- a/lib/make-iso9660-image.sh +++ b/lib/make-iso9660-image.sh @@ -54,8 +54,10 @@ done # Also include a manifest of the closures in a format suitable for # nix-store --load-db. -printRegistration=1 perl $pathsFromGraph closure-* > nix-path-registration -echo "nix-path-registration=nix-path-registration" >> pathlist +if [ -n "$object"; ]; then + printRegistration=1 perl $pathsFromGraph closure-* > nix-path-registration + echo "nix-path-registration=nix-path-registration" >> pathlist +fi # Add symlinks to the top-level store objects. |