diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:49:41 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:49:41 +0000 |
commit | 89b0c8aa91110625d4527760aea6625ab6b07c78 (patch) | |
tree | 9b8f17c4f7799054a82112fe3c88aba13649c438 /docbook-utils-spaces.patch | |
parent | 40968e5e162216782a1a0585c51d5b2c19937cc2 (diff) |
automatic import of docbook-utilsopeneuler24.03_LTS
Diffstat (limited to 'docbook-utils-spaces.patch')
-rw-r--r-- | docbook-utils-spaces.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/docbook-utils-spaces.patch b/docbook-utils-spaces.patch new file mode 100644 index 0000000..4c18b1d --- /dev/null +++ b/docbook-utils-spaces.patch @@ -0,0 +1,32 @@ +--- docbook-utils-0.6.14/bin/jw.in.spaces 2003-04-30 17:21:49.000000000 +0100 ++++ docbook-utils-0.6.14/bin/jw.in 2004-08-19 09:33:34.989426640 +0100 +@@ -405,9 +405,9 @@ + echo -e $SGML_HELP_MESSAGE >&2 + exit 1 + fi +-if [ ! -d $SGML_OUTPUT_DIRECTORY ] ++if [ ! -d "$SGML_OUTPUT_DIRECTORY" ] + then +- mkdir $SGML_OUTPUT_DIRECTORY 2>/dev/null ++ mkdir "$SGML_OUTPUT_DIRECTORY" 2>/dev/null + if [ $? -ne 0 ] + then + echo "`basename $0`: Could not create \"$SGML_OUTPUT_DIRECTORY\" output directory" >&2 +@@ -422,7 +422,7 @@ + echo "Using catalogs: `echo $SGML_CATALOG_FILES | sed 's/:/, /g'`" + echo "Using stylesheet: $SGML_STYLESHEET" + echo "Working on: $SGML_FILE" +-cd $SGML_OUTPUT_DIRECTORY ++cd "$SGML_OUTPUT_DIRECTORY" + export SGML_JADE SGML_FILE_NAME SGML_ARGUMENTS + export SGML_CATALOG_FILES SGML_BASE_DIR SGML_FILE SGML_STYLESHEET + NOCHUNKS=`echo $SGML_OPTIONS | grep nochunks` +@@ -433,7 +433,7 @@ + sh $SGML_BACKEND >$SGML_FILE_NAME.html + fi + SGML_RETURN=$? +-cd $SGML_CURRENT_DIRECTORY ++cd "$SGML_CURRENT_DIRECTORY" + + if [ $SGML_RETURN -gt 0 ] + then exit `expr 7 + $SGML_RETURN` |