projects
/
backups
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Oops, a silly little bug.
[backups/.git]
/
scripts
/
restore-script.sh
diff --git
a/scripts/restore-script.sh
b/scripts/restore-script.sh
index d96176817295518405fc988df28599e74285259d..c95b8400fbc9496f57f9b8c34dc6a852a7acf201 100755
(executable)
--- a/
scripts/restore-script.sh
+++ b/
scripts/restore-script.sh
@@
-12,7
+12,7
@@
function err() {
export PATH=${rundir%/}:/bin:/usr/bin:/sbin:/usr/sbin:/sw/bin
export PATH=${rundir%/}:/bin:/usr/bin:/sbin:/usr/sbin:/sw/bin
-if [
!
-z "$1" -o ! -d "$2" ]; then
+if [ -z "$1" -o ! -d "$2" ]; then
err "
Usage: $(basename $0) <source-dir> <relocate-dir> [<mnt-dir>]
err "
Usage: $(basename $0) <source-dir> <relocate-dir> [<mnt-dir>]