be compatible with realpath tool in debian wheezy

svn path=/trunk/; revision=31289
This commit is contained in:
2015-06-01 00:01:37 +00:00
parent 02f1d40e09
commit cb85e37e62
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/sh
basedir="$(realpath -m "$0/../..")"
basedir="$(realpath "$(dirname "$0")/..")"
[ -z "$inc_misc" ] && . "$basedir/build/misc.sh"
while [ "$#" -gt 0 ]; do

View File

@@ -1,6 +1,6 @@
#!/bin/sh
basedir="$(realpath -m "$0/../..")"
basedir="$(dirname "$0")/.."
[ -z "$inc_misc" ] && . "$basedir/build/misc.sh"
. "$basedir/build/arguments.sh"

View File

@@ -212,7 +212,7 @@ xslt_maker(){
file="$input/$1"
dir="$(dirname "$file")"
deps="$( xslt_dependencies "$file" |xargs -I'{}' realpath -m "$dir/{}" )"
deps="$( xslt_dependencies "$file" |xargs -I'{}' realpath "$dir/{}" )"
cat <<MakeEND
$(mes "$file"): $(mes $deps)
touch "$(mio "$file")"