Fix a bug with qm files in package*.sh
This commit is contained in:
parent
92e0df0bcf
commit
a07110db04
|
@ -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 .
|
||||
|
|
|
@ -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 \{\} \;
|
||||
|
|
Loading…
Reference in New Issue
Block a user