v.licheni.net
/
stack
/
code
/
debianlive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0031cc8
)
corrected executables check in make-persistence
master
author
stack
<stack@inventati.org>
Tue, 19 Mar 2013 16:06:47 +0000
(17:06 +0100)
committer
stack
<stack@inventati.org>
Tue, 19 Mar 2013 16:06:47 +0000
(17:06 +0100)
make-persistence.sh
patch
|
blob
|
history
diff --git
a/make-persistence.sh
b/make-persistence.sh
index
533b3e7
..
298eecc
100755
(executable)
--- a/
make-persistence.sh
+++ b/
make-persistence.sh
@@
-13,11
+13,11
@@
if [ $(id -u) != 0 ];then
echo "Must run as root"
exit 1
fi
echo "Must run as root"
exit 1
fi
-if [ ! -x
$(which parted)
];then
+if [ ! -x
"$(which parted)"
];then
echo "parted executable must be in search path and persmission garanted"
exit 1
fi
echo "parted executable must be in search path and persmission garanted"
exit 1
fi
-if [ ! -x
$(which cryptsetup)
];then
+if [ ! -x
"$(which cryptsetup)"
];then
echo "cryptsetup executable must be in search path and persmission garanted"
exit 1
fi
echo "cryptsetup executable must be in search path and persmission garanted"
exit 1
fi