]> git.pld-linux.org Git - projects/pld-ftp-admin.git/commitdiff
- avoid "cd -"
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 4 May 2012 06:48:45 +0000 (06:48 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Fri, 4 May 2012 06:48:45 +0000 (06:48 +0000)
Changed files:
    wwwbin/rpmcheck.sh -> 1.2

wwwbin/rpmcheck.sh

index b829ecab6b45f73a574f3d5ab946840d161a1201..583551c25913a5e5f5052db7db6baa6cef84c4e9 100644 (file)
@@ -48,11 +48,7 @@ rpm_pkgs() {
 cvs_todo() {
        set -$d
 
-       [ -s $t/PLD-doc/PLD-update-TODO ] || {
-               cd $t
-               cvs -d $CVSROOT -Q co PLD-doc/PLD-update-TODO
-               cd -
-       }
+       [ -s $t/PLD-doc/PLD-update-TODO ] || (cd $t; cvs -d $CVSROOT -Q co PLD-doc/PLD-update-TODO)
 
        # reformat for easier parsing
        # amaya(13) [OLD] 9.54 [NEW] 11.0
This page took 0.070339 seconds and 4 git commands to generate.