Tweaks to docker/copydb.
- Legacy-Id: 13055
This commit is contained in:
parent
f778e39a27
commit
16f067fa8e
|
@ -113,12 +113,12 @@ done
|
|||
# ----------------------------------------------------------------------
|
||||
# The program itself
|
||||
|
||||
if [ -e "/.dockerenv" -o -n "$(grep '/docker/' /proc/self/cgroup)" ]; then
|
||||
if [ -e "/.dockerenv" -o -n "$(grep -s '/docker/' /proc/self/cgroup)" ]; then
|
||||
die "It looks as if you're running inside docker -- please quit docker first."
|
||||
fi
|
||||
|
||||
cd $progdir/../data/ \
|
||||
&& note "Building tarfile ..." \
|
||||
&& echo "Building tarfile ..." \
|
||||
&& tar cjf ietf_utf8.bin.tar.bz2 mysql \
|
||||
&& note "Copying tarfile to ietfa.amsl.com ..." \
|
||||
&& echo "Copying tarfile to ietfa.amsl.com ..." \
|
||||
&& scp ietf_utf8.bin.tar.bz2 ietfa.amsl.com:/a/www/www6s/lib/dt/sprint/
|
||||
|
|
Loading…
Reference in a new issue