diff options
Diffstat (limited to 'testing/hplip/no-empty-glob.patch')
-rw-r--r-- | testing/hplip/no-empty-glob.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/hplip/no-empty-glob.patch b/testing/hplip/no-empty-glob.patch new file mode 100644 index 00000000000..49dd78f841f --- /dev/null +++ b/testing/hplip/no-empty-glob.patch @@ -0,0 +1,18 @@ +--- a/createPPD.sh ++++ b/createPPD.sh +@@ -81,6 +81,7 @@ + install -d ppd/hpcups + ppdc -d ppd/hpcups prnt/drv/hpcups.drv + for i in ppd/hpcups/*.ppd; do ++ [ -f "$i" ] || continue + gzip -c "$i" > "$i.gz" + done + +@@ -88,6 +89,7 @@ + ppdc -d ppd/hpijs prnt/drv/hpijs.drv + echo "gzip ppd files..." + for i in ppd/hpijs/*.ppd; do ++ [ -f "$i" ] || continue + gzip -c "$i" > "$i.gz" + done + echo "building foomatic_drv.inc..." |