[Lunar-commits] <moonbase> gawk: fix broken test for old files

Paul Bredbury brebs at lunar-linux.org
Tue Jan 25 18:05:56 CET 2011


commit 9443cc15a68e42ee6380939660ca36c283d8ccd9
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Wed Jan 26 00:05:56 2011 +0700

    gawk: fix broken test for old files
    
    And just delete them, as obviously intended.
---
 editors/gawk/BUILD |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/editors/gawk/BUILD b/editors/gawk/BUILD
index 90721f6..9b03420 100644
--- a/editors/gawk/BUILD
+++ b/editors/gawk/BUILD
@@ -16,11 +16,6 @@
   make install  &&
 
   ln  -sf  /bin/gawk  /bin/awk  &&
-  if [ -e /bin/gawk-*  ]; then
-    rm /bin/gawk-*;
-  fi  &&
-  if [ -e /bin/pgawk-* ]; then
-    rm /bin/pgawk-*;
-  fi
+  rm -f /bin/{,p}gawk-*
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list