$OpenBSD: patch-kde-dev-scripts_cvsaddcurrentdir,v 1.1 2013/07/05 14:32:50 zhuk Exp $
Cleanup development scripts, making them more portable and secure.
Upstream review 110858: http://git.reviewboard.kde.org/r/110858/
--- kde-dev-scripts/cvsaddcurrentdir.orig	Fri Jun 28 22:03:13 2013
+++ kde-dev-scripts/cvsaddcurrentdir	Fri Jul  5 18:14:32 2013
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #Alexander Neundorf <neundorf@kde.org>
 #copyright 2002, GPL
 
@@ -15,7 +15,7 @@ FOUND=`find |grep -v "^\.$"| grep -v CVS| grep -v "\.[
 
 ask_for_adding() {
 echo
-read -p "Add file $file to cvs ? (y/n) " answer rest
+read answer"?Add file $file to cvs ? (y/n) " rest
 #if [ "$answer" != "y" ]; then echo $file; fi
 if [ "$answer" == "y" ]; then cvs add $file; fi
 }
