summaryrefslogtreecommitdiff
path: root/lib/install-sh
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-01-06 10:46:09 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-01-06 10:46:32 -0800
commit08820f0bf86622da770be001392fdda2e792d85d (patch)
treef2ae200dff416950cbb207ee32baeec95f522229 /lib/install-sh
parente7de1ef89c049e8fe0cbe92921341b9a57867a92 (diff)
downloadautomake-08820f0bf86622da770be001392fdda2e792d85d.tar.gz
scripts: quote 'like this', not `like this'
This change follows up on recent changes to the GNU coding standards. They now suggest that we should quote 'like this' or "like this" instead of `like this'; see: <http://www.gnu.org/prep/standards/html_node/Quote-Characters.html>. Gnulib is being changed accordingly, and Gnulib imports some files directly from Automake master, so change those files to use the straight-up style. This affects only commentary and quoting in diagnostics.
Diffstat (limited to 'lib/install-sh')
-rwxr-xr-xlib/install-sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/install-sh b/lib/install-sh
index 64c4b3ee5..377bb8687 100755
--- a/lib/install-sh
+++ b/lib/install-sh
@@ -35,7 +35,7 @@ scriptversion=2011-11-20.07; # UTC
# FSF changes to this file are in the public domain.
#
# Calling this script install-sh is preferred over install.sh, to prevent
-# `make' implicit rules from creating a file called install from it
+# 'make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
@@ -156,7 +156,7 @@ while test $# -ne 0; do
-s) stripcmd=$stripprog;;
-t) dst_arg=$2
- # Protect names problematic for `test' and other utilities.
+ # Protect names problematic for 'test' and other utilities.
case $dst_arg in
-* | [=\(\)!]) dst_arg=./$dst_arg;;
esac
@@ -190,7 +190,7 @@ if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
fi
shift # arg
dst_arg=$arg
- # Protect names problematic for `test' and other utilities.
+ # Protect names problematic for 'test' and other utilities.
case $dst_arg in
-* | [=\(\)!]) dst_arg=./$dst_arg;;
esac
@@ -202,7 +202,7 @@ if test $# -eq 0; then
echo "$0: no input file specified." >&2
exit 1
fi
- # It's OK to call `install-sh -d' without argument.
+ # It's OK to call 'install-sh -d' without argument.
# This can happen when creating conditional directories.
exit 0
fi
@@ -240,7 +240,7 @@ fi
for src
do
- # Protect names problematic for `test' and other utilities.
+ # Protect names problematic for 'test' and other utilities.
case $src in
-* | [=\(\)!]) src=./$src;;
esac