summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-04-25 11:08:14 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-04-25 11:08:14 (EDT)
commite9032508724868700fd485fd9c2e718c50fd65d4 (patch)
tree6d4ee49a1ff966ce4c2a65a8afc65333b1eee7b1 /src
parentd252d67d4885448939f9957c5dcd4864becd7a8c (diff)
Standardize parameter expansions.
Diffstat (limited to 'src')
-rw-r--r--src/oh-applypatches.sh2
-rw-r--r--src/oh-buildopk.sh2
-rw-r--r--src/oh-checkbuilddeps.sh4
-rw-r--r--src/oh-copyconfig.sh2
-rw-r--r--src/oh-gencontrol.sh2
-rw-r--r--src/oh-installdocs.sh2
-rw-r--r--src/oh-installfiles.sh2
-rw-r--r--src/oh-strip.sh2
8 files changed, 9 insertions, 9 deletions
diff --git a/src/oh-applypatches.sh b/src/oh-applypatches.sh
index ac51da9..5ab52a6 100644
--- a/src/oh-applypatches.sh
+++ b/src/oh-applypatches.sh
@@ -23,7 +23,7 @@
print_usage()
{
- printf 'Usage: %s\n' "$1"
+ printf 'Usage: %s\n' "${1}"
}
if [ ${#} -ne 0 ]; then
diff --git a/src/oh-buildopk.sh b/src/oh-buildopk.sh
index e8d840e..5fcec68 100644
--- a/src/oh-buildopk.sh
+++ b/src/oh-buildopk.sh
@@ -25,7 +25,7 @@
print_usage()
{
- printf 'Usage: %s -s | pkgname...\n' "$1"
+ printf 'Usage: %s -s | pkgname...\n' "${1}"
}
opts=$(getopt -n "${0}" -o 's' -- "${@}")
diff --git a/src/oh-checkbuilddeps.sh b/src/oh-checkbuilddeps.sh
index fac59dd..f2b710e 100644
--- a/src/oh-checkbuilddeps.sh
+++ b/src/oh-checkbuilddeps.sh
@@ -24,7 +24,7 @@
print_usage()
{
- printf 'Usage: %s\n' "$1"
+ printf 'Usage: %s\n' "${1}"
}
opts=$(getopt -n "${0}" -o 's:' -- "${@}")
@@ -55,7 +55,7 @@ if [ "${1}" = '--' ]; then
fi
if [ ${#} -ne 0 ]; then
- echo $1
+ echo ${1}
print_usage ${0} >&2
exit 1
fi
diff --git a/src/oh-copyconfig.sh b/src/oh-copyconfig.sh
index 27e05eb..8b07397 100644
--- a/src/oh-copyconfig.sh
+++ b/src/oh-copyconfig.sh
@@ -23,7 +23,7 @@
print_usage()
{
- printf 'Usage: %s\n' "$1"
+ printf 'Usage: %s\n' "${1}"
}
if [ ! -f ../config ]; then
diff --git a/src/oh-gencontrol.sh b/src/oh-gencontrol.sh
index 4cc48e5..08b09b1 100644
--- a/src/oh-gencontrol.sh
+++ b/src/oh-gencontrol.sh
@@ -25,7 +25,7 @@
print_usage()
{
- printf 'Usage: %s -s | pkgname...\n' "$1"
+ printf 'Usage: %s -s | pkgname...\n' "${1}"
}
missing_field()
diff --git a/src/oh-installdocs.sh b/src/oh-installdocs.sh
index 07a458b..ae0f5d4 100644
--- a/src/oh-installdocs.sh
+++ b/src/oh-installdocs.sh
@@ -23,7 +23,7 @@
print_usage()
{
- printf 'Usage: %s providing_pkg\n' "$1"
+ printf 'Usage: %s providing_pkg\n' "${1}"
}
if [ ${#} -ne 1 ]; then
diff --git a/src/oh-installfiles.sh b/src/oh-installfiles.sh
index e0da7c8..ad8a361 100644
--- a/src/oh-installfiles.sh
+++ b/src/oh-installfiles.sh
@@ -23,7 +23,7 @@
print_usage()
{
- printf 'Usage: %s pkgname...\n' "$1"
+ printf 'Usage: %s pkgname...\n' "${1}"
}
if [ ${#} -eq 0 ]; then
diff --git a/src/oh-strip.sh b/src/oh-strip.sh
index 5b0811a..2ec28cf 100644
--- a/src/oh-strip.sh
+++ b/src/oh-strip.sh
@@ -23,7 +23,7 @@
print_usage()
{
- printf 'Usage: %s [-g] [-l] binaryfile...\n' "$1"
+ printf 'Usage: %s [-g] [-l] binaryfile...\n' "${1}"
}
opts=$(getopt -n "${0}" -o 'gl' -- "${@}")