Prevent sed from creating a backup zshrc
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user