From 2e5129630d2c7c833cb5455465d6c4440b8d58f2 Mon Sep 17 00:00:00 2001 From: jinfu-leng Date: Sun, 15 Sep 2013 11:37:27 -0500 Subject: SI-7844 Intellij setup.sh is not working for Ubuntu 12.04 Added "-f" option to the command "rm" --- src/intellij/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/intellij/setup.sh') 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//'`; -- cgit v1.2.3