fix for relative srcdir
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3342 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,15 +1,26 @@
|
||||
#!/bin/sh
|
||||
|
||||
file=@srcdir@/compile_et.awk
|
||||
# $Id$
|
||||
|
||||
case "@srcdir@" in
|
||||
/*)
|
||||
srcdir="@srcdir@"
|
||||
;;
|
||||
*)
|
||||
srcdir="`dirname $0`/@srcdir@"
|
||||
;;
|
||||
esac
|
||||
|
||||
file="$srcdir/compile_et.awk"
|
||||
|
||||
if [ $# != 1 ]; then
|
||||
echo "Usage: compile_et file.et"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f $file ]; then
|
||||
echo "compile_et: File not found: $file"
|
||||
exit 1
|
||||
if [ ! -f "$file" ]; then
|
||||
echo "compile_et: File not found: $file"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@AWK@ -f $file $1
|
||||
@AWK@ -f "$file" "$1"
|
||||
|
@@ -1,15 +1,26 @@
|
||||
#!/bin/sh
|
||||
|
||||
file=@srcdir@/compile_et.awk
|
||||
# $Id$
|
||||
|
||||
case "@srcdir@" in
|
||||
/*)
|
||||
srcdir="@srcdir@"
|
||||
;;
|
||||
*)
|
||||
srcdir="`dirname $0`/@srcdir@"
|
||||
;;
|
||||
esac
|
||||
|
||||
file="$srcdir/compile_et.awk"
|
||||
|
||||
if [ $# != 1 ]; then
|
||||
echo "Usage: compile_et file.et"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f $file ]; then
|
||||
echo "compile_et: File not found: $file"
|
||||
exit 1
|
||||
if [ ! -f "$file" ]; then
|
||||
echo "compile_et: File not found: $file"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@AWK@ -f $file $1
|
||||
@AWK@ -f "$file" "$1"
|
||||
|
Reference in New Issue
Block a user