docs-common/bin bulkbuild,1.2,1.3

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Tue Nov 29 21:24:01 UTC 2005


Author: pfrields

Update of /cvs/docs/docs-common/bin
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28145

Modified Files:
	bulkbuild 
Log Message:
Remove interaction


Index: bulkbuild
===================================================================
RCS file: /cvs/docs/docs-common/bin/bulkbuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- bulkbuild	16 Nov 2005 02:02:10 -0000	1.2
+++ bulkbuild	29 Nov 2005 21:23:54 -0000	1.3
@@ -14,6 +14,7 @@
 HTMLDIR="${HOME}/fdpdocs-html"
 # Do this anonymously for now
 ANONCVS=":pserver:anonymous at cvs.fedora.redhat.com:2401/cvs/docs"
+#INTERACT=no #default
 
 mkdir "${FDPDIR}" || ( echo "Could not mkdir ${FDPDIR}" ; exit 254 )
 mkdir "${HTMLDIR}" || ( echo "Could not mkdir ${FDPDIR}" ; exit 254 )
@@ -39,14 +40,16 @@
     
 
 popd >/dev/null
-echo -n "OK to remove temp dir ${FDPDIR} [y/n]? "
-read -sn1 REPLY
-case $REPLY in
-    y|Y )
-	rm -rf "${FDPDIR}"
-	echo
-	;;
-    * )
-	echo "... not removed."
-	;;
-esac
+if [ ! -z "$INTERACT" ]; then
+    echo -n "OK to remove temp dir ${FDPDIR} [y/n]? "
+    read -sn1 REPLY
+    case $REPLY in
+	y|Y )
+	    rm -rf "${FDPDIR}"
+	    echo
+	    ;;
+	* )
+	    echo "... not removed."
+	    ;;
+    esac
+fi




More information about the docs-commits mailing list