[Lunar-commits] <moonbase> gawk: preserve the old gawk file before install.
Florin Braescu
florin at lunar-linux.org
Sat Jul 25 08:50:18 CEST 2009
commit e0a8bccec7041e91a84c4544f21494b5cd742d12
Author: Florin Braescu <florin at lunar-linux.org>
Date: Sat Jul 25 09:50:18 2009 +0300
gawk: preserve the old gawk file before install.
---
editors/gawk/BUILD | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/editors/gawk/BUILD b/editors/gawk/BUILD
index 5cfa408..1f51bd1 100644
--- a/editors/gawk/BUILD
+++ b/editors/gawk/BUILD
@@ -1,5 +1,7 @@
(
+ cp -f /bin/gawk /bin/gawk.old &&
+
./configure --build=$BUILD \
--prefix=/usr \
--mandir=/usr/share/man \
@@ -8,7 +10,6 @@
ac_cv_func_working_mktime=yes &&
default_make &&
- cp -f /bin/gawk /bin/gawk.old &&
rm -f /bin/awk &&
ln -sf gawk /bin/awk &&
if [ -e /bin/gawk-* ]; then
More information about the Lunar-commits
mailing list