diff options
author | jinfu-leng <jinfu.leng@gmail.com> | 2013-09-15 11:37:27 -0500 |
---|---|---|
committer | jinfu-leng <jinfu.leng@gmail.com> | 2013-09-15 11:37:27 -0500 |
commit | 2e5129630d2c7c833cb5455465d6c4440b8d58f2 (patch) | |
tree | 4b615c691584858e58601559521d1c7ae23d76e4 /src | |
parent | b44ea0e9d1fe038c6b65cb5b99056da38edc53e3 (diff) | |
download | scala-2e5129630d2c7c833cb5455465d6c4440b8d58f2.tar.gz scala-2e5129630d2c7c833cb5455465d6c4440b8d58f2.tar.bz2 scala-2e5129630d2c7c833cb5455465d6c4440b8d58f2.zip |
SI-7844 Intellij setup.sh is not working for Ubuntu 12.04
Added "-f" option to the command "rm"
Diffstat (limited to 'src')
-rwxr-xr-x | src/intellij/setup.sh | 2 |
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//'`; |