ensure 10validateroot is executable
authorChristian Hofstaedtler <ch@grml.org>
Thu, 2 Dec 2010 11:22:19 +0000 (12:22 +0100)
committerChristian Hofstaedtler <ch@grml.org>
Thu, 2 Dec 2010 11:22:19 +0000 (12:22 +0100)
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 a1557ac..fd55dcf 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