nulib/_merge2php82

33 lines
763 B
Plaintext
Raw Permalink Normal View History

2024-11-29 17:11:50 +04:00
#!/bin/bash
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
mydir="$(cd "$(dirname -- "$0")"; pwd)"
myself="$mydir/$(basename -- "$0")"
cwd="$(pwd)"
if [ "$mydir" == "$cwd" -o "${mydir#$cwd/}" != "$mydir" ]; then
cp "$myself" /tmp/merge2php82.sh
exec /tmp/merge2php82.sh "$mydir" "$mydir"
else
nulibdir="${2:-$mydir}"
source "$nulibdir/load.sh" || exit 1
fi
args=(
"description"
#"usage"
)
parse_args "$@"; set -- "${args[@]}"
projdir="${1:-.}"
cd "$projdir" || die
edebug "mydir=$mydir, nulibdir=$nulibdir, projdir=$projdir"
git checkout php82
2025-01-24 16:20:05 +04:00
git rebase php74 ||
2024-11-29 17:11:50 +04:00
die "Le rebase automatique a échoué. Après avoir résolu les conflits, faire
2025-01-24 16:20:05 +04:00
git checkout php74
2024-11-29 17:11:50 +04:00
pp -af
"
2025-01-24 16:20:05 +04:00
git checkout php74
2024-11-29 17:11:50 +04:00
pp -af