blob: cdc7e4b612a58024cb1b8a1b48f7f0efc4808b98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-cg,v 1.1 2010/04/15 08:13:34 dholland Exp $
DESTDIR support
--- nls/Install~ 2001-06-19 17:03:18.000000000 +0000
+++ nls/Install
@@ -39,12 +39,12 @@ do
echo "\"$InDir\" is not a directory"
continue
fi
- if [ ! -d $DestDir ]
+ if [ ! -d $DESTDIR$DestDir ]
then
- echo "\"$DestDir\" is not a directory"
+ echo "\"$DESTDIR$DestDir\" is not a directory"
continue
fi
- /bin/rm -f $DestDir/$CATNAME
- echo "$GENCAT $DestDir/$CATNAME $InDir/*.m"
- $GENCAT $DestDir/$CATNAME $InDir/*.m
+ /bin/rm -f $DESTDIR$DestDir/$CATNAME
+ echo "$GENCAT $DESTDIR$DestDir/$CATNAME $InDir/*.m"
+ $GENCAT $DESTDIR$DestDir/$CATNAME $InDir/*.m
done < $LANGFILE
|