Skip to content
This repository was archived by the owner on May 10, 2023. It is now read-only.

Commit 249076a

Browse files
committed
Revert "Avoid error if xargs is empty"
This reverts commit b2fb8d3.
1 parent eb11412 commit 249076a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

deploy.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,19 +201,19 @@ echo
201201
echo "Changing directory to SVN and committing to trunk."
202202
cd $SVNPATH/trunk/
203203
# Delete all files that should not now be added.
204-
svn status | grep -v "^.[ \t]*\..*" | grep "^\!" | awk '{print $2"@"}' | xargs -r svn del
204+
svn status | grep -v "^.[ \t]*\..*" | grep "^\!" | awk '{print $2"@"}' | xargs svn del
205205
# Add all new files that are not set to be ignored
206-
svn status | grep -v "^.[ \t]*\..*" | grep "^?" | awk '{print $2"@"}' | xargs -r svn add
206+
svn status | grep -v "^.[ \t]*\..*" | grep "^?" | awk '{print $2"@"}' | xargs svn add
207207
svn commit --username=$SVNUSER -m "Preparing for $PLUGINVERSION release"
208208

209209
echo
210210

211211
echo "Updating WordPress plugin repo assets and committing."
212212
cd $SVNPATH/assets/
213213
# Delete all new files that are not set to be ignored
214-
svn status | grep -v "^.[ \t]*\..*" | grep "^\!" | awk '{print $2"@"}' | xargs -r svn del
214+
svn status | grep -v "^.[ \t]*\..*" | grep "^\!" | awk '{print $2"@"}' | xargs svn del
215215
# Add all new files that are not set to be ignored
216-
svn status | grep -v "^.[ \t]*\..*" | grep "^?" | awk '{print $2"@"}' | xargs -r svn add
216+
svn status | grep -v "^.[ \t]*\..*" | grep "^?" | awk '{print $2"@"}' | xargs svn add
217217
svn update --quiet --accept working $SVNPATH/assets/*
218218
svn commit --username=$SVNUSER -m "Updating assets"
219219

0 commit comments

Comments
 (0)