diff options
author | Joey Hess <joeyh@debian.org> | 2010-09-26 16:36:02 (GMT) |
---|---|---|
committer | Joey Hess <joeyh@debian.org> | 2010-09-26 16:36:02 (GMT) |
commit | 655f833be4a8d2bd110bd3c0caa2fc17af119988 (patch) | |
tree | a7e7e5dbf4bd96424d93582bc5fe9e51ba2a3502 /Makefile | |
parent | dc3391757941489b957c632459975b5e6a5192d7 (diff) | |
download | debootstrap-655f833be4a8d2bd110bd3c0caa2fc17af119988.zip debootstrap-655f833be4a8d2bd110bd3c0caa2fc17af119988.tar.gz debootstrap-655f833be4a8d2bd110bd3c0caa2fc17af119988.tar.bz2 |
Add test that devices.tar.gz not be somehow empty. Closes: #598080
r64849
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -29,4 +29,8 @@ devices.tar.gz: chmod 755 dev (cd dev && $(MAKEDEV) std ptmx fd consoleonly) tar cf - dev | gzip -9 >devices.tar.gz + @if [ "$$(tar tvf devices.tar.gz | wc -l)" -lt 2 ]; then \ + echo " ** devices.tar.gz is empty!" >&2; \ + exit 1; \ + fi rm -rf dev |