summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Trinks <[email protected]>2012-09-24 12:42:46 (GMT)
committer Dennis Trinks <[email protected]>2012-09-24 12:42:46 (GMT)
commit93fb36ab63063b6ff5b4cac2c9c4072b7f1e6548 (patch)
tree4fbdf414208c4d20cdf7e89085c9f3fda974f070
parent9007cb72d4ee2d30c68c53011281b74f631b274c (diff)
unix2dos does only support UTF-8 - so ignore UTF-16
-rw-r--r--lib/builder-targets.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/builder-targets.sh b/lib/builder-targets.sh
index 3ef979f..6fc3c12 100644
--- a/lib/builder-targets.sh
+++ b/lib/builder-targets.sh
@@ -187,7 +187,7 @@ builder_create() {
# Copy files and convert text files to dos format
cp -Rv ${PRODUCT_DIR}/OPSI $INST_DIR
cp -Rv ${PRODUCT_DIR}/CLIENT_DATA $INST_DIR
- find $INST_DIR/CLIENT_DATA -type f | xargs -n1 -iREP sh -c 'file -i $0 | grep "text/plain" && '$CMD_unix2dos' $0 ' REP >/dev/null
+ find $INST_DIR/CLIENT_DATA -type f | xargs -n1 -iREP sh -c 'file -i $0 | grep -v "utf-16" | grep "text/plain" && '$CMD_unix2dos' $0 ' REP >/dev/null
# converting icon file
local iconfile_src=${DL_DIST_FILE[$ICON_DL_INDEX]}

Powered by Domaintechnik.at | Hosting - Domain - Webspace