From a07110db043cb143ea77810c15ac529d99156d55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Thu, 7 Jun 2012 19:52:51 +0200 Subject: [PATCH] Fix a bug with qm files in package*.sh --- tools/package.sh | 4 ++-- tools/package_win32.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/package.sh b/tools/package.sh index 229b935..87e3dfe 100755 --- a/tools/package.sh +++ b/tools/package.sh @@ -21,7 +21,7 @@ make clean fi make || (echo "Compilation failed" ; exit 1) cp -r kc ressources TODO CONTRIBUTORS COPYING README* www install.sh "$DIR" -rm -rf "$DIR/ressources/po/*" +rm -rf "$DIR"/ressources/po/* cp -r ressources/po/*.qm "$DIR/ressources/po/" # Copy only QM files find "$DIR" -type f -executable -exec ${HOST}strip \{\} \; tar -jcf "$FILE" "$DIR" @@ -34,7 +34,7 @@ rm -rf "$DEB_DIR" "$DEB_FILE" mkdir "$DEB_DIR" cp -r kc.1 kc debian README* ChangeLog TODO CONTRIBUTORS COPYING ressources "$DEB_DIR" rm -rf "$DEB_DIR/ressources/po/*" -cp -r ressources/po/*.qm "$DEB_DIR/ressources/po/" # Copy only QM files +cp -r ressources/po/*.qm "$DEB_DIR"/ressources/po/ # Copy only QM files cd "$DEB_DIR" ${HOST}strip kc mv debian/Makefile . diff --git a/tools/package_win32.sh b/tools/package_win32.sh index 0abf768..576f691 100755 --- a/tools/package_win32.sh +++ b/tools/package_win32.sh @@ -16,7 +16,7 @@ rm -rf "$DIR" mkdir -p "$DIR" cp -r lib/*.dll* "$DIR" cp -r kc ressources TODO CONTRIBUTORS COPYING README README.fr www "$DIR" -rm -rf "$DIR/ressources/po/*" +rm -rf "$DIR"/ressources/po/* cp -r ressources/po/*.qm "$DIR/ressources/po/" # Copy only QM files mv "$DIR"/kc "$DIR"/kc.exe find "$DIR" -type f -executable -exec ${PREFIX}strip \{\} \;