feature #2097: Remove more VMware traces from shared TM

This commit is contained in:
Tino Vazquez committed 2013-06-20 11:52:16 +02:00
1 parent b83c075c2a
commit 72bd526fcc
2 files changed
+2 -14

No files matched your search

+1 -7
View File
@@ -59,13 +59,7 @@ CPSCRIPT=$(cat <<EOF
SRC_READLN=\$($READLINK -f $SRC_PATH)
DST_READLN=\$($READLINK -f $DST_PATH)
if [ -d $SRC_PATH ] ; then
if [ \( -L $SRC_PATH \) -a \( "\$SRC_READLN" = "\$DST_READLN" \) ] ; then
echo "Not moving files to image repo, they are the same"
else
cp -rf $SRC_PATH/* $DST_PATH
fi
elif [ \( -L $SRC_PATH \) -a \( "\$SRC_READLN" = "\$DST_READLN" \) ] ; then
if [ \( -L $SRC_PATH \) -a \( "\$SRC_READLN" = "\$DST_READLN" \) ] ; then
echo "Not copying files to image repo, they are the same"
else
cp -f $SRC_PATH $DST_PATH
+1 -7
View File
@@ -59,13 +59,7 @@ MVSCRIPT=$(cat <<EOF
SRC_READLN=\$($READLINK -f $SRC_PATH)
DST_READLN=\$($READLINK -f $DST_PATH)
if [ -d $SRC_PATH ] ; then
if [ \( -L $SRC_PATH \) -a \( "\$SRC_READLN" = "\$DST_READLN" \) ] ; then
echo "Not moving files to image repo, they are the same"
else
mv -f $SRC_PATH/* $DST_PATH
fi
elif [ \( -L $SRC_PATH \) -a \( "\$SRC_READLN" = "\$DST_READLN" \) ] ; then
if [ \( -L $SRC_PATH \) -a \( "\$SRC_READLN" = "\$DST_READLN" \) ] ; then
echo "Not moving files to image repo, they are the same"
else
mv -f $SRC_PATH $DST_PATH