ensure 10validateroot is executable
authorChristian Hofstaedtler <ch@grml.org>
Thu, 2 Dec 2010 11:22:19 +0000 (12:22 +0100)
committerUlrich Dangel <mru@grml.org>
Fri, 3 Jun 2011 00:28:18 +0000 (02:28 +0200)
debian/patches/10_validateroot.dpatch
debian/rules

index d162722..a813356 100755 (executable)
@@ -6,7 +6,6 @@
 
 @DPATCH@
 diff --git a/scripts/live-bottom/10validateroot b/scripts/live-bottom/10validateroot
-new file mode 100755
 index 0000000..8d42afc
 --- /dev/null
 +++ b/scripts/live-bottom/10validateroot
index 4c1bf00..070bf09 100755 (executable)
@@ -3,6 +3,9 @@
 include /usr/share/dpatch/dpatch.make
 
 build: patch-stamp
+       # this is needed because dpatch doesn't do file modes on diffs.
+       chmod a+rx scripts/live-bottom/*
+       # regular build.
        dh build
 
 clean: unpatch