diff options
author | P. J. McDermott <pjm@nac.net> | 2013-10-29 22:45:47 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-10-29 22:45:47 (EDT) |
commit | 6d0b84fb495e1722ca9896c66d541b1524a20d2b (patch) | |
tree | e04d08eb9ab7a9bb10f890e58db88c30e376032b | |
parent | def88b728107a422486a11f848ed5455037d6edd (diff) | |
download | tinycss-master.zip tinycss-master.tar.gz tinycss-master.tar.bz2 |
Ignore .git/ and fix "debian/" test.
-rwxr-xr-x | debian/rules | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index dd4e3d9..a1389cf 100755 --- a/debian/rules +++ b/debian/rules @@ -38,6 +38,7 @@ unpack-orig-source: get-orig-source # Remove currently unpacked source. for f in * .[!.] .??*; do \ if [ -e $${f} ] && [ $${f} != debian ] && \ + [ $${f} != .git ] && \ [ $${f} != .gitignore ]; then \ rm -Rf $${f}; \ fi; \ @@ -52,7 +53,8 @@ unpack-orig-source: get-orig-source # into the top-level directory. set -e; \ for f in */ .[!.]/ .??*/; do \ - if [ -d $${f} ] && [ $${f} != debian ]; then \ + if [ -d $${f} ] && [ $${f} != debian/ ] && [ $${f} != .git/ ]; \ + then \ for ff in $${f}/* $${f}/.[!.] $${f}/.??*; do \ if [ -e $${ff} ]; then \ mv $${ff} .; \ |