Adjust for compatibility with Debian's unifdef.
[releases.git] / deblob-2.6.24
index 5ad33cac5f8d250ede0989fec078088dc9bd2698..4db5cfb64155bd0dddda59956af919e192ee058b 100755 (executable)
@@ -46,7 +46,7 @@
 # from 1 if changes are needed that require rebuilding the tarball.
 kver=2.6.24 extra=3++
 
-if unifdef /dev/null; then :; else
+if unifdef -Utest /dev/null; then :; else
     echo unifdef is required >&2
     exit 1
 fi
@@ -122,7 +122,7 @@ function clean_mk {
 function clean_ifdef {
        #$1 = filename $2 = macro to -U
        echo unifdefing $1 with -U$2
-       unifdef $1 -U$2 > $1.deblob
+       unifdef -U$2 $1 > $1.deblob
        check_changed $1
 }