Don’t work when you’re tired.

I did the following things in the past few days:

opkg_svn.bb: fix a stupid typo that ruined everyone's build...
diff --git a/packages/opkg/opkg_svn.bb b/packages/opkg/opkg_svn.bb
--- a/packages/opkg/opkg_svn.bb
+++ b/packages/opkg/opkg_svn.bb
@@ -23,8 +23,8 @@ echo "#!/bin/sh
 if ! test -f /etc/.configured; then
        opkg-cl configure
 fi
-" > $D$/{sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure.sh
-chmod 0755 $D$/{sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure.sh
+" > $D/${sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure.sh
+chmod 0755 $D/${sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure.sh
 test -f $D/${sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure && rm -f $D/${sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure

 update-alternatives --install ${bindir}/opkg opkg ${bindir}/opkg-cl 100

and, on my own computer, I wanted to do:
tar zxf openmoko-asu-image.tar.gz -C /mnt
but instead I did:
tar zxf openmoko-asu-image.tar.gz -C /
So I have to reinstall debian…
DON’T WORK WHEN YOU’RE TIRED!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s