projects
/
backups
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3e9e8de
)
Oops, a silly little bug.
author
Carl N Baldwin
<cnb@plane.localdomain>
Wed, 30 Nov 2005 02:57:18 +0000
(19:57 -0700)
committer
Carl N Baldwin
<cnb@plane.localdomain>
Wed, 30 Nov 2005 02:57:18 +0000
(19:57 -0700)
scripts/restore-script.sh
patch
|
blob
|
history
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>]