aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-01-28 21:31:37 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-01-28 21:31:37 +0100
commit801dc1fe85ef6a69ffe71aaa0d9c5cfa488a345a (patch)
tree4d7c805f5834085d79442c44309571aebfaf4d51
parent912d62ba50086aa47f2365c19ffe6ae9b3cb45c6 (diff)
downloadnx-libs-801dc1fe85ef6a69ffe71aaa0d9c5cfa488a345a.tar.gz
nx-libs-801dc1fe85ef6a69ffe71aaa0d9c5cfa488a345a.tar.bz2
nx-libs-801dc1fe85ef6a69ffe71aaa0d9c5cfa488a345a.zip
fix typos in CODE-REDUCTION scripts
-rwxr-xr-xdebian/roll-tarballs.sh4
-rw-r--r--nx-libs.spec4
2 files changed, 4 insertions, 4 deletions
diff --git a/debian/roll-tarballs.sh b/debian/roll-tarballs.sh
index 4b4624fd8..9b63529f7 100755
--- a/debian/roll-tarballs.sh
+++ b/debian/roll-tarballs.sh
@@ -146,7 +146,7 @@ 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-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
@@ -164,7 +164,7 @@ for path in ${PRESERVE_SYMLINKED_FILES} ${PRESERVE_INCLUDED_FILES} ${PRESERVE_NE
cp -av "$path" ".preserve/$path"
done
-for path in ${UNUSED_FOLDERS} ${CLEAN_FOLDERS} ${UNNEEDED_BACKUPS}; do
+for path in ${UNUSED_FOLDERS} ${CLEANUP_FOLDERS} ${UNNEEDED_BACKUPS}; do
rm -R "$path"
done
diff --git a/nx-libs.spec b/nx-libs.spec
index a7a5ebda0..c1b59caa3 100644
--- a/nx-libs.spec
+++ b/nx-libs.spec
@@ -555,7 +555,7 @@ 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-SYMLINKED`
+PRESERVE_INCLUDED_FILES=`cat debian/CODE-REDUCTION_PRESERVE-INCLUDED`
PRESERVE_NEEDED_FILES=`cat debian/CODE-REDUCTION_PRESERVE-NEEDED`
mkdir -p .preserve/
for path in ${PRESERVE_SYMLINKED_FILES} ${PRESERVE_INCLUDED_FILES} ${PRESERVE_NEEDED_FILES}; do
@@ -567,7 +567,7 @@ for path in ${PRESERVE_SYMLINKED_FILES} ${PRESERVE_INCLUDED_FILES} ${PRESERVE_NE
mkdir -vp ".preserve/$path_dirname"
cp -av "$path" ".preserve/$path"
done
-for path in ${UNUSED_FOLDERS} ${CLEAN_FOLDERS} ${UNNEEDED_BACKUPS}; do
+for path in ${UNUSED_FOLDERS} ${CLEANUP_FOLDERS} ${UNNEEDED_BACKUPS}; do
rm -R "$path"
done