File: 13_dpatch-edit-patch-null.sh

package info (click to toggle)
dpatch 2.0.38%2Bnmu1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 676 kB
  • sloc: sh: 1,013; makefile: 225; awk: 57; perl: 17
file content (21 lines) | stat: -rwxr-xr-x 314 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
# Junichi Uekawa 16 Dec 2005

##: check dpatch-edit-patch without command-line options.

set -e

cd $PKGPATH

echo '=== dpatch-edit-patch with NULL command-line option'
if echo | dpatch-edit-patch ; then
    exit 1;
else
    true
fi

if [ -f debian/patches/.dpatch ]; then
    exit 1;
else
    true
fi