Fix a bug with qm files in package*.sh

This commit is contained in:
Grégory Soutadé 2012-06-07 19:52:51 +02:00
parent 92e0df0bcf
commit a07110db04
2 changed files with 3 additions and 3 deletions

View File

@ -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 .

View File

@ -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 \{\} \;