mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
fіx argument passing to php file
passing arguments with whitespace didn't work thanks to Jan-Benedict for providing this patch
This commit is contained in:
parent
97b19c3e00
commit
2302546286
|
@ -1,6 +1,8 @@
|
|||
#!/bin/sh
|
||||
if [ -z ${SEEDDMS_HOME+x} ]; then
|
||||
echo "Please set SEEDDMS_HOME before running this script";
|
||||
exit 1;
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ -z "${SEEDDMS_HOME}" ]; then
|
||||
echo 'Please set $SEEDDMS_HOME before running this script'
|
||||
exit 1
|
||||
fi
|
||||
php -f ${SEEDDMS_HOME}/utils/adddoc.php -- $*
|
||||
|
||||
exec php -f "${SEEDDMS_HOME}/utils/adddoc.php" -- "${@}"
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#!/bin/sh
|
||||
if [ -z ${SEEDDMS_HOME+x} ]; then
|
||||
echo "Please set SEEDDMS_HOME before running this script";
|
||||
exit 1;
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ -z "${SEEDDMS_HOME}" ]; then
|
||||
echo 'Please set $SEEDDMS_HOME before running this script'
|
||||
exit 1
|
||||
fi
|
||||
php -f ${SEEDDMS_HOME}/utils/createfolder.php -- $*
|
||||
|
||||
exec php -f "${SEEDDMS_HOME}/utils/createfolder.php" -- "${@}"
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#!/bin/sh
|
||||
if [ -z ${SEEDDMS_HOME+x} ]; then
|
||||
echo "Please set SEEDDMS_HOME before running this script";
|
||||
exit 1;
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ -z "${SEEDDMS_HOME}" ]; then
|
||||
echo 'Please set $SEEDDMS_HOME before running this script'
|
||||
exit 1
|
||||
fi
|
||||
php -f ${SEEDDMS_HOME}/utils/indexer.php -- $*
|
||||
|
||||
exec php -f "${SEEDDMS_HOME}/utils/indexer.php" -- "${@}"
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#!/bin/sh
|
||||
if [ -z ${SEEDDMS_HOME+x} ]; then
|
||||
echo "Please set SEEDDMS_HOME before running this script";
|
||||
exit 1;
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ -z "${SEEDDMS_HOME}" ]; then
|
||||
echo 'Please set $SEEDDMS_HOME before running this script'
|
||||
exit 1
|
||||
fi
|
||||
php -f ${SEEDDMS_HOME}/utils/xmldump -- $*
|
||||
|
||||
exec php -f "${SEEDDMS_HOME}/utils/xmldump" -- "${@}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user