Prevent sed from creating a backup zshrc

This commit is contained in:
myockey
2020-02-26 14:40:16 -05:00
parent 6a18000a49
commit 889bcf597c

View File

@@ -61,7 +61,7 @@ cp -rf packages $INSTALL_DIR/packages
cp -f zshrc $INSTALL_DIR/zshrc cp -f zshrc $INSTALL_DIR/zshrc
# Insert the INSTALL_DIR variable into the installed run control file # Insert the INSTALL_DIR variable into the installed run control file
sed -i -e "1 i\\ sed -i "" -e "1 i\\
INSTALL_DIR=$INSTALL_DIR\\ INSTALL_DIR=$INSTALL_DIR\\
" $INSTALL_DIR/zshrc " $INSTALL_DIR/zshrc