chiark
/
gitweb
/
~ian
/
chiark-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
@@ -2,7 +2,7 @@
[chiark-utils.git]
/
backup
/
loaded
diff --git
a/backup/loaded
b/backup/loaded
index 69adcb4dfa2f9c1034f1b6d6c4a792c7c7eb17f6..ed47752956dc68c51e038a7c6609d9d9a8872283 100755
(executable)
--- a/
backup/loaded
+++ b/
backup/loaded
@@
-23,13
+23,14
@@
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
set -e
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
set -e
-cd /var/l
ocal/
backup
+cd /var/l
ib/chiark-
backup
-if test -f "/etc/backup/tape.$1"
+if test -f "/etc/
chiark-
backup/tape.$1"
then
echo "$1" >really-TAPEID
echo "Will assume tape is $1 unless I discover otherwise."
else
then
echo "$1" >really-TAPEID
echo "Will assume tape is $1 unless I discover otherwise."
else
+ if [ "x$1" != x ]; then echo "Tape $1 not found."; fi
echo "Will only use tape if it has a TAPEID."
rm -f really-TAPEID
fi
echo "Will only use tape if it has a TAPEID."
rm -f really-TAPEID
fi