Revision 43547 trunk/org.gvsig.desktop/org.gvsig.desktop.framework/org.gvsig.andami/src/main/resources-application/tools/make-portable
make-portable | ||
---|---|---|
100 | 100 |
# Con el tr intentamos eliminar lo \r ya que algunos package.info generados |
101 | 101 |
# desde windows tienen \r. |
102 | 102 |
# |
103 |
PACKE_INFO_CONTENTS=$(unzip -lpWc "$PACKAGE_PATH" "${prefix}*/package.info" | tr -d '\r') |
|
103 |
PACKE_INFO_CONTENTS=$(unzip -nlpWc "$PACKAGE_PATH" "${prefix}*/package.info" | tr -d '\r')
|
|
104 | 104 |
while read line ; do |
105 | 105 |
case "$line" in |
106 | 106 |
type=*) |
... | ... | |
169 | 169 |
cd "$INSTALL_FOLDER/gvSIG/extensiones" |
170 | 170 |
rm -rf "$PACKAGE_CODE" |
171 | 171 |
logger_info "Install plugin $PACKAGE_CODE $PACKAGE_VERSION" |
172 |
unzip -qq "$PACKAGE_PATH" 2>&1 | sed "/warning: stripped absolute path/d" |
|
172 |
unzip -nqq "$PACKAGE_PATH" 2>&1 | sed "/warning: stripped absolute path/d"
|
|
173 | 173 |
} |
174 | 174 |
|
175 | 175 |
function install_translations() { |
... | ... | |
388 | 388 |
echo "ERROR: Expected file $ff" |
389 | 389 |
exit 1 |
390 | 390 |
fi |
391 |
unzip -qq "$ff" |
|
391 |
unzip -nqq "$ff"
|
|
392 | 392 |
|
393 | 393 |
logger_info "Uncompressing ${PORTABLE_OSNAME}-${PORTABLE_PLATFORM} package set" |
394 | 394 |
mkdir -p "$TARGET/packages-${PORTABLE_OS}-${PORTABLE_PLATFORM}" |
... | ... | |
399 | 399 |
echo "ERROR: Expected file $ff" |
400 | 400 |
exit 1 |
401 | 401 |
fi |
402 |
unzip -qq "$ff" |
|
402 |
unzip -nqq "$ff"
|
|
403 | 403 |
|
404 | 404 |
download_jre |
405 | 405 |
|
Also available in: Unified diff