be compatible with realpath tool in debian wheezy
svn path=/trunk/; revision=31289
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
basedir="$(realpath -m "$0/../..")"
|
||||
basedir="$(dirname "$0")/.."
|
||||
[ -z "$inc_misc" ] && . "$basedir/build/misc.sh"
|
||||
|
||||
. "$basedir/build/arguments.sh"
|
||||
|
||||
@@ -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")"
|
||||
|
||||
Reference in New Issue
Block a user