fix savechanges
This commit is contained in:
+3
-4
@@ -19,11 +19,10 @@ cd $CHANGES || exit
|
|||||||
mkdir -p $TMP
|
mkdir -p $TMP
|
||||||
mount -t tmpfs tmpfs $TMP
|
mount -t tmpfs tmpfs $TMP
|
||||||
|
|
||||||
find \( -type d -printf "%p/\n" , -type f -print \) \
|
find \( -type d -printf "%p/\n" , -not -type d -print \) \
|
||||||
| sed -r "s/[.]\\///" | egrep -v "$EXCLUDE" \
|
| sed -r "s/^[.]\\///" | egrep -v "$EXCLUDE" \
|
||||||
| while read FILE; do
|
| while read FILE; do
|
||||||
echo $FILE
|
cp -v --parents -afr "$FILE" "$TMP"
|
||||||
cp -v --parents -afr $FILE $TMP
|
|
||||||
done
|
done
|
||||||
|
|
||||||
cd $CWD
|
cd $CWD
|
||||||
|
|||||||
Reference in New Issue
Block a user