example/drivers.rb in rbcdio-0.02 vs example/drivers.rb in rbcdio-0.03
- old
+ new
@@ -1,27 +1,25 @@
#!/usr/bin/env ruby
-# $Id: drivers.rb,v 1.11 2007/10/13 23:25:41 rocky Exp $
+# $Id: drivers.rb,v 1.12 2008/05/02 13:05:39 karl Exp $
#
# Program to read CD blocks. See read-cd from the libcdio distribution
# for a more complete program.
+# Copyright (C) 2006, 2007, 2008 Rocky Bernstein <rocky@gnu.org>
#
-# Copyright (C) 2006, 2007 Rocky Bernstein <rocky@gnu.org>
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
mypath = File.dirname(__FILE__)
if(File::exists?(mypath + "/../lib/cdio.rb"))
$: << File.dirname(__FILE__) + '/../ext/cdio'
$: << File.dirname(__FILE__) + '/../lib'
else