Index: create-lw-file --- create-lw-file.orig 2010-06-29 09:37:07 UTC +++ create-lw-file @@ -1,8 +1,8 @@ -#!/bin/bash +#!/bin/sh # put the files given on the command line into a tarball with the same name as the first file in that list. that first file gets overwritten. files=$* -tmpdir=`mktemp --quiet --directory /tmp/lw-tar.XXXXX ` +tmpdir=`mktemp -q -d /tmp/lw-tar.XXXXX ` file=`basename $1` if [ "x$tmpdir" != "x" ]; then cp $files $tmpdir