|
From: Oliver J. <oli...@mo...> - 2004-01-30 13:44:25
|
another one....
Index: lha
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/lha,v
retrieving revision 1.4
diff -u -r1.4 lha
--- lha 11 Jan 2004 14:43:04 -0000 1.4
+++ lha 30 Jan 2004 13:41:17 -0000
@@ -25,7 +25,10 @@
case $1 in
build )
if [ "$CONFIG_LHA" = "y" ]; then
- zcat $DL_DIR/src/lha*.diff.gz | patch -p1 ||
exit 1
+ if [ ! -f lha_patches_done ]; then
+ touch lha_patches_done
+ zcat $DL_DIR/src/lha*.diff.gz | patch
-p1 || exit 1
+ fi
make $PMAKE || exit 1
strip_debug
fi
|