Should always run from installed directory
[backups/.git] / scripts / drive.sh
index 4ea1e54d77ef957e0b96617bd2ecfd99f32e0304..dbe6b0b7e074349605af6124c4479e5b05a47ad0 100755 (executable)
@@ -1,9 +1,8 @@
 #!/bin/bash
 
 scriptsdir=$(dirname $0)
-bindir="$scriptsdir/../build"
 
-export PATH=$scriptsdir:$bindir:$PATH
+export PATH=$scriptsdir:$PATH
 
 # file locations and other values
 today=$(date +%Y%m%d%H%M%S)
@@ -22,7 +21,7 @@ touch $isoimage
 # chmod 600 $isoimage
 
 # Create filesystem on iso image here
-dd if=/dev/zero of=$isoimage bs=2048k count=2220
+dd if=/dev/null of=$isoimage bs=2048k count=0 seek=2220
 mke2fs -b 2048 -F $isoimage
 
 echo "Mounting the iso image"