skip make on the mac

 

File modified: bin/start.sh

Change313 at Wed Jul 07 20:13:19 2010 +0200 by Ivan Kanis <ivan@mac.foo>

diff -r 29f7fffae71d -r 5259db0458ed bin/start.sh
--- a/bin/start.sh	Sun Jul 04 08:14:04 2010 +0200
+++ b/bin/start.sh	Wed Jul 07 20:13:19 2010 +0200
@@ -27,7 +27,10 @@
 then
     sudo umount "${portable_dir}"
     hd_device=`diskutil list | grep "${hd_name}" | awk '{printf $6}'`
-    sudo ntfs-3g "/dev/${hd_device}" "${portable_dir}"
+    uid=`id -u`
+    gid=`id -g`
+    sudo ntfs-3g -o "uid=${uid},gid=${gid}" \
+"/dev/${hd_device}" "${portable_dir}"
 else
     if test ! -d "${portable_dir}/keep"
     then
@@ -39,8 +42,13 @@
 hg pull ${portable_dir}/keep/hg
 hg update
 check "error pulling mercurial"
-make
-check "compilation error"
+
+# make is busted on the mac...
+if test "X${uname}" != "XDarwin"
+then
+    make
+    check "compilation error"
+fi
 
 if test $(hostname) = tao
 then
@@ -52,7 +60,7 @@
 wrapper.py emacs &
 firefox > /dev/null 2>&1 &
 
-nice rsync -a /media/Iomega_HDD/keep ~/local &
+nice rsync -a ${portable_dir}/keep ~/local &
 
 # Local Variables:
 # compile-command: "sh start.sh"


back