Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
6715ac58f6 | |||
0cf97d13b6 |
@ -62,7 +62,7 @@ if [ $? == 1 ]; then
|
||||
fi
|
||||
|
||||
# check if the file exists
|
||||
if [ ! -f $1 ]; then
|
||||
if [ ! -f "$1" ]; then
|
||||
echo "Regular file $1 does not exist."
|
||||
exit 1
|
||||
fi
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
if [ -z ${$PREFIX+x} ];
|
||||
#!/bin/bash
|
||||
if [ -z ${PREFIX+x} ];
|
||||
then
|
||||
PREFIX=/usr
|
||||
fi
|
||||
|
Reference in New Issue
Block a user