+2007-09-06 Guillem Jover <guillem@debian.org>
+
+ * scripts/dpkg-name.sh: Avoid escaped quotes messing with syntax
+ highlighting by using $() instead of backticks.
+ * scripts/dpkg-buildpackage.sh: Likewise.
+
2007-09-06 Guillem Jover <guillem@debian.org>
* scripts/dpkg-genchanges.pl ($host_arch): Do not declare as 'our'.
version="1.10.10"; # This line modified by Makefile
-progname="`basename \"$0\"`"
+progname="$(basename "$0")"
showversion () {
echo "Debian $progname version $version."
while [ $# != 0 ]
do
- value="`echo x\"$1\" | sed -e 's/x--.*=//;s/^x-.//'`"
+ value="$(echo x"$1" | sed -e 's/x--.*=//;s/^x-.//')"
case "$1" in
-h|--help)
usage; exit 0 ;;
}
curd="`pwd`"
-dirn="`basename \"$curd\"`"
+dirn="$(basename "$curd")"
mustsetvar package "`dpkg-parsechangelog | sed -n 's/^Source: //p'`" "source package is"
mustsetvar changesversion "`dpkg-parsechangelog | sed -n 's/^Version: //p'`" "source version is"
if [ -n "$changedby" ]; then maintainer="$changedby";
else
arch=source
fi
-mustsetvar sversion "`echo \"$changesversion\" | perl -pe 's/^\d+://'`" "source version without epoch"
+mustsetvar sversion "$(echo "$changesversion" | perl -pe 's/^\d+://')" "source version without epoch"
pv="${package}_${sversion}"
pva="${package}_${sversion}_${arch}"
set -e
# Time-stamp: <96/05/03 13:59:41 root>
-prog="`basename \"${0}\"`"
+prog="$(basename "${0}")"
version="1.2.3"; # This line modified by Makefile
purpose="rename Debian packages to full package names"