build script 누락
This commit is contained in:
@@ -14,7 +14,9 @@ if [ ! -f "$samRoot/index.php" ]; then
|
|||||||
mkdir -p $samRoot
|
mkdir -p $samRoot
|
||||||
chown -R www-data:www-data $wwwRoot
|
chown -R www-data:www-data $wwwRoot
|
||||||
gosu www-data git clone $gameGitPath $samRoot
|
gosu www-data git clone $gameGitPath $samRoot
|
||||||
|
pushd $samRoot
|
||||||
gosu www-data git checkout $gameGitBranch
|
gosu www-data git checkout $gameGitBranch
|
||||||
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$HIDCHE_IMAGE_USE_INTERNAL" = "yes" ] && [ ! -d "$imageRoot" ]; then
|
if [ "$HIDCHE_IMAGE_USE_INTERNAL" = "yes" ] && [ ! -d "$imageRoot" ]; then
|
||||||
@@ -29,4 +31,4 @@ if [ "$HIDCHE_IMAGE_USE_INTERNAL" = "yes" ] && [ ! -d "$imageRoot" ]; then
|
|||||||
gosu www-data git clone $imgGitPath $imageRoot
|
gosu www-data git clone $imgGitPath $imageRoot
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user