aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2015-04-27 01:22:41 +0200
committerMihai Moldovan <ionic@ionic.de>2015-04-27 01:22:41 +0200
commit56b383b8c68b8f63b30e1b9151485f0c6087a662 (patch)
tree7ffa25c768849250cb28fb42e5d3230eb7d56f41 /debian
parent06bdc27233782dbe41cee072728c6a38b93a740a (diff)
downloadnx-libs-56b383b8c68b8f63b30e1b9151485f0c6087a662.tar.gz
nx-libs-56b383b8c68b8f63b30e1b9151485f0c6087a662.tar.bz2
nx-libs-56b383b8c68b8f63b30e1b9151485f0c6087a662.zip
debian/roll-tarballs.sh: whitespace changes for consistency.
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/roll-tarballs.sh60
1 files changed, 30 insertions, 30 deletions
diff --git a/debian/roll-tarballs.sh b/debian/roll-tarballs.sh
index 38627fa64..4eb0d1232 100755
--- a/debian/roll-tarballs.sh
+++ b/debian/roll-tarballs.sh
@@ -141,36 +141,36 @@ test -f replace.sh || test -f debian/Makefile.replace.sh && cp -v debian/Makefil
if [ "x$MODE" = "xfull" ]; then
- #### stuff we do not needed
- UNUSED_FOLDERS=`cat debian/CODE-REDUCTION_CLEANUP-UNUSED`
- CLEANUP_FOLDERS=`cat debian/CODE-REDUCTION_CLEANUP-BRUTAL`
- UNNEEDED_BACKUPS=`cat debian/CODE-REDUCTION_CLEANUP-BACKUPFILES`
- PRESERVE_SYMLINKED_FILES=`cat debian/CODE-REDUCTION_PRESERVE-SYMLINKED`
- PRESERVE_INCLUDED_FILES=`cat debian/CODE-REDUCTION_PRESERVE-INCLUDED`
- PRESERVE_NEEDED_FILES=`cat debian/CODE-REDUCTION_PRESERVE-NEEDED`
-
- # remove folders that we do not want to roll into the tarball
- rm -Rf ".pc/"
- rm -Rf "debian/"
-
- mkdir -p .preserve/
- for path in ${PRESERVE_SYMLINKED_FILES} ${PRESERVE_INCLUDED_FILES} ${PRESERVE_NEEDED_FILES}; do
- if [ ! -d $path ]; then
- path_dirname=$(dirname "$path")
- else
- path_dirname="$path"
- fi
- mkdir -vp ".preserve/$path_dirname"
- cp -av "$path" ".preserve/$path"
- done
-
- for path in ${UNUSED_FOLDERS} ${CLEANUP_FOLDERS} ${UNNEEDED_BACKUPS}; do
- rm -R "$path"
- done
-
- # re-create the to-be-preserved files
- cp -a .preserve/* ./
- rm -Rf .preserve/
+ #### stuff we do not needed
+ UNUSED_FOLDERS=`cat debian/CODE-REDUCTION_CLEANUP-UNUSED`
+ CLEANUP_FOLDERS=`cat debian/CODE-REDUCTION_CLEANUP-BRUTAL`
+ UNNEEDED_BACKUPS=`cat debian/CODE-REDUCTION_CLEANUP-BACKUPFILES`
+ PRESERVE_SYMLINKED_FILES=`cat debian/CODE-REDUCTION_PRESERVE-SYMLINKED`
+ PRESERVE_INCLUDED_FILES=`cat debian/CODE-REDUCTION_PRESERVE-INCLUDED`
+ PRESERVE_NEEDED_FILES=`cat debian/CODE-REDUCTION_PRESERVE-NEEDED`
+
+ # remove folders that we do not want to roll into the tarball
+ rm -Rf ".pc/"
+ rm -Rf "debian/"
+
+ mkdir -p .preserve/
+ for path in ${PRESERVE_SYMLINKED_FILES} ${PRESERVE_INCLUDED_FILES} ${PRESERVE_NEEDED_FILES}; do
+ if [ ! -d $path ]; then
+ path_dirname=$(dirname "$path")
+ else
+ path_dirname="$path"
+ fi
+ mkdir -vp ".preserve/$path_dirname"
+ cp -av "$path" ".preserve/$path"
+ done
+
+ for path in ${UNUSED_FOLDERS} ${CLEANUP_FOLDERS} ${UNNEEDED_BACKUPS}; do
+ rm -R "$path"
+ done
+
+ # re-create the to-be-preserved files
+ cp -a .preserve/* ./
+ rm -Rf .preserve/
fi
# remove files, that we do not want in the tarballs (build cruft)