[packages/adapter: 124/631] - do adapterizing but do not commit case

glen glen at pld-linux.org
Mon Sep 12 19:44:51 CEST 2016


commit 6542b75bdd1d2ba9aad91b0b2afabb95905739b6
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Jun 27 12:55:21 2004 +0000

    - do adapterizing but do not commit case
    
    Changed files:
        adapter.sh -> 1.4

 adapter.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/adapter.sh b/adapter.sh
index af8bf0a..f8bacdb 100644
--- a/adapter.sh
+++ b/adapter.sh
@@ -7,7 +7,7 @@ fi
 
 ./adapter.awk "$1" > "$1.adapter"
 diff -u "$1" "$1.adapter"|less
-echo -n "Are the changes OK? [yNs] "
+echo -n "Are the changes OK? [yNso] "
 
 read -n 1 OK
 echo
@@ -15,6 +15,8 @@ echo
 if [ "$OK" == "y" -o "$OK" == "Y" ]; then
   mv "$1.adapter" "$1"
   cvs ci "$1"
+elif [ "$OK" != "o" -a "$OK" != "O" ];then
+  mv "$1.adapter" "$1"
 elif [ "$OK" != "s" -a "$OK" != "S" ];then
   rm "$1.adapter"
 fi
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list