[packages/adapter: 165/631] - use ./builder for adapterizing

glen glen at pld-linux.org
Mon Sep 12 19:48:17 CEST 2016


commit 748a488af5102522fc131a1a94cc79da6cd77bbc
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Jul 4 23:17:32 2005 +0000

    - use ./builder for adapterizing
    
    Changed files:
        adapter.sh -> 1.7

 adapter.sh | 20 +-------------------
 1 file changed, 1 insertion(+), 19 deletions(-)
---
diff --git a/adapter.sh b/adapter.sh
index c36671d..21a3d6e 100644
--- a/adapter.sh
+++ b/adapter.sh
@@ -5,22 +5,4 @@ if [ $# -ne 1 -o ! -f "$1" ]; then
   exit 1
 fi
 
-./adapter.awk "$1" > "$1.adapter"
-diff -u "$1" "$1.adapter" | less
-echo -n "Are the changes OK? [yNso] "
-
-read OK
-
-if [ "$OK" = "y" -o "$OK" = "Y" ]; then
-  echo "Committing..."
-  mv "$1.adapter" "$1"
-  cvs ci "$1"
-elif [ "$OK" = "o" -o "$OK" = "O" ];then
-  echo "Saving changes..."
-  mv "$1.adapter" "$1"
-elif [ "$OK" != "s" -a "$OK" != "S" ];then
-  echo "Ignoring changes..."
-  rm "$1.adapter"
-else
-  echo "Did nothing."
-fi
+./builder -a "$1"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list