summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/intellij/setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intellij/setup.sh b/src/intellij/setup.sh
index d0e1abeb96..bd324ba5bd 100755
--- a/src/intellij/setup.sh
+++ b/src/intellij/setup.sh
@@ -9,7 +9,7 @@ export BASE="$( cd "$( dirname "$0" )"/../.. && pwd )"
echo "About to delete .ipr and .iml files and replace with the .SAMPLE files. Press enter to continue or CTRL-C to cancel."
read
-(rm *.ipr *.iml 2>/dev/null)
+(rm -f *.ipr *.iml 2>/dev/null)
for f in $(ls "$SCRIPT_DIR"/*.SAMPLE); do
NEW_FILE=`echo $f | perl -pe 's/.SAMPLE//'`;