projects
/
curl-de-sac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
de865f1
)
INSTALL: -x flag enabled and directories tree creation fixed
author
Matteo Nastasi (mop)
<nastasi@alternativeoutput.it>
Thu, 21 Aug 2014 07:05:16 +0000
(09:05 +0200)
committer
Matteo Nastasi (mop)
<nastasi@alternativeoutput.it>
Thu, 21 Aug 2014 07:05:16 +0000
(09:05 +0200)
INSTALL.sh
patch
|
blob
|
history
diff --git
a/INSTALL.sh
b/INSTALL.sh
index
e8310bd
..
e901dd6
100755
(executable)
--- a/
INSTALL.sh
+++ b/
INSTALL.sh
@@
-46,7
+46,7
@@
function usage () {
# echo " -C config filename - def. \"$brisk_conf\""
# echo " -U unix socket path - def. \"$usock_path\""
# echo " -u system user to run brisk dae - def. \"$sys_user\""
# echo " -C config filename - def. \"$brisk_conf\""
# echo " -U unix socket path - def. \"$usock_path\""
# echo " -u system user to run brisk dae - def. \"$sys_user\""
-
#
echo " -x copy tests as normal php - def. \"$test_add\""
+ echo " -x copy tests as normal php - def. \"$test_add\""
echo
}
echo
}
@@
-154,7
+154,7
@@
while [ $# -gt 0 ]; do
# -U*) usock_path="$(get_param "-U" "$1" "$2")"; sh=$?;;
# -u*) sys_user="$(get_param "-u" "$1" "$2")"; sh=$?;;
# system) action=system;;
# -U*) usock_path="$(get_param "-U" "$1" "$2")"; sh=$?;;
# -u*) sys_user="$(get_param "-u" "$1" "$2")"; sh=$?;;
# system) action=system;;
- -W) web_only="TRUE";;
+
#
-W) web_only="TRUE";;
-x) test_add="TRUE";;
-h) usage $0; exit 0;;
*) usage $0; exit 1;;
-x) test_add="TRUE";;
-h) usage $0; exit 0;;
*) usage $0; exit 1;;
@@
-263,7
+263,7
@@
if [ "$web_only" != "TRUE" ]; then
:
fi
install -d ${web_path}
:
fi
install -d ${web_path}
-for i in $(find web -type d | sed 's/^....//g'); do
+for i in $(find web -type d |
grep '/' |
sed 's/^....//g'); do
install -d ${web_path}/$i
done
install -d ${web_path}/$i
done