[Initscripts-ng-commits] r94 - /trunk/www/soc2006-bootsystem/code/replaceSh4Dash.sh

dvictoria-guest at users.alioth.debian.org dvictoria-guest at users.alioth.debian.org
Thu Jul 20 00:29:52 UTC 2006


Author: dvictoria-guest
Date: Thu Jul 20 00:29:50 2006
New Revision: 94

URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=94
Log:
lsb-compliance list update

Modified:
    trunk/www/soc2006-bootsystem/code/replaceSh4Dash.sh

Modified: trunk/www/soc2006-bootsystem/code/replaceSh4Dash.sh
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/code/replaceSh4Dash.sh?rev=94&op=diff
==============================================================================
--- trunk/www/soc2006-bootsystem/code/replaceSh4Dash.sh (original)
+++ trunk/www/soc2006-bootsystem/code/replaceSh4Dash.sh Thu Jul 20 00:29:50 2006
@@ -3,6 +3,7 @@
 for myfile in /etc/init.d/*
 do
 	echo "$myfile";
-	sed 's/n\/sh/n\/dash/' $myfile > /etc/init.d_dash/$myfile
+	myfilename=`basename $myfile`
+	sed 's/n\/sh/n\/dash/' $myfile > /etc/init.d_dash/$myfilename
 done
 	




More information about the Initscripts-ng-commits mailing list