OSSP CVS Repository

ossp - Check-in [4960]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 4960
Date: 2005-Jan-13 12:15:03 (local)
2005-Jan-13 11:15:03 (UTC)
User:rse
Branch:
Comment: ops, output base filename only
Tickets:
Inspections:
Files:
ossp-pkg/svs/svs.sh      1.5 -> 1.6     2 inserted, 1 deleted

ossp-pkg/svs/svs.sh 1.5 -> 1.6

--- svs.sh       2005/01/13 11:14:01     1.5
+++ svs.sh       2005/01/13 11:15:03     1.6
@@ -208,12 +208,13 @@
         #   show status on files
         for file in $files; do
             file=`echo "$file" | sed -e 's;^\./;;' -e 's;/\./;/;g' -e 's;\([^/][^/]*\)/\.\.;;g' -e 's;//*;/;g'`
+            base=`echo "$file" | sed -e 's;\.orig$;;' -e 's;\.rej$;;'`
             prefix="?"
             case "$file" in
                 *.orig ) prefix="M" ;;
                 *.rej  ) prefix="C" ;;
             esac
-            echo "$prefix $file"
+            echo "$prefix $base"
         done
         ;;
 

CVSTrac 2.0.1