Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 uid=1(daemon) gid=1(daemon) grupos=1(daemon) Safe-mode: OFF (not secure) /opt/apex_led/php/3ros/simplesamlphp/bin/ drwxrwxr-x | |
| Viewing file: Select action/file-type: #!/usr/bin/env bash
set -e
TAG=$1
if ! shift; then
echo "$0: Missing required tag parameter." >&2
exit 1
fi
if [ -z "$TAG" ]; then
echo "$0: Empty tag parameter." >&2
exit 1
fi
cd /tmp
REPOPATH="http://simplesamlphp.googlecode.com/svn/tags/$TAG/"
if [ -a "$TAG" ]; then
echo "$0: Destination already exists: $TAG" >&2
exit 1
fi
umask 0022
svn export "$REPOPATH"
mkdir -p "$TAG/config" "$TAG/metadata"
cp -rv "$TAG/config-templates/"* "$TAG/config/"
cp -rv "$TAG/metadata-templates/"* "$TAG/metadata/"
tar --owner 0 --group 0 -cvzf "$TAG.tar.gz" "$TAG"
rm -rf "$TAG"
echo "Created: /tmp/$TAG.tar.gz"
|
:: Command execute :: | |
--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.582 ]-- |