[Rear-users] SF.net SVN: rear:[663] trunk/usr/share/rear/build/USB/default/ 80_enforce_usb_output.sh

jhoekx at users.sourceforge.net jhoekx at users.sourceforge.net
Wed Jul 6 11:57:39 CEST 2011


Revision: 663
          http://rear.svn.sourceforge.net/rear/?rev=663&view=rev
Author:   jhoekx
Date:     2011-07-06 09:57:39 +0000 (Wed, 06 Jul 2011)

Log Message:
-----------
Fix mistakes in enforcing of usb output.

We noticed during testing that it had failed, but forgot to fix it.

Modified Paths:
--------------
    trunk/usr/share/rear/build/USB/default/80_enforce_usb_output.sh

Modified: trunk/usr/share/rear/build/USB/default/80_enforce_usb_output.sh
===================================================================
--- trunk/usr/share/rear/build/USB/default/80_enforce_usb_output.sh	2011-07-05 16:09:21 UTC (rev 662)
+++ trunk/usr/share/rear/build/USB/default/80_enforce_usb_output.sh	2011-07-06 09:57:39 UTC (rev 663)
@@ -1,12 +1,12 @@
 # Make sure we use the correct OUTPUT in local.conf
 
-real_output=$(source $ROOTFS_DIR/$ETC_DIR/local.conf; echo $OUTPUT)
+real_output=$(source $ROOTFS_DIR/$CONFIG_DIR/local.conf; echo $OUTPUT)
 
-if [[ "$real_output" != "USB" ]]; then
+if [[ "$real_output" == "USB" ]]; then
     return
 fi
 
-cat <<EOF >>$ROOTFS_DIR/$ETC_DIR/local.conf
+cat <<EOF >>$ROOTFS_DIR/$CONFIG_DIR/local.conf
 
 # Added by udev workflow
 OUTPUT=USB


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rear-users mailing list