Commit a18ab305 authored by Vivien Alger's avatar Vivien Alger

Corrected old typo

parent d0f561d7
...@@ -9,7 +9,7 @@ CURRENT_DIRECTORY="$(pwd)" ...@@ -9,7 +9,7 @@ CURRENT_DIRECTORY="$(pwd)"
TEMPLATES_DIRECTORY=$CURRENT_DIRECTORY/templates TEMPLATES_DIRECTORY=$CURRENT_DIRECTORY/templates
DEB_DIRECTORY=$TEMPLATES_DIRECTORY/deb DEB_DIRECTORY=$TEMPLATES_DIRECTORY/deb
RPM_DIRECTORY=$TEMPLATES_DIRECTORY/rpm RPM_DIRECTORY=$TEMPLATES_DIRECTORY/rpm
SLAPOS_ORGINAL_DIRECTORY=slapos-node SLAPOS_ORIGINAL_DIRECTORY=slapos-node
SLAPOS_DIRECTORY=slapos-node_$VERSION+$RECIPE_VERSION+$RELEASE SLAPOS_DIRECTORY=slapos-node_$VERSION+$RECIPE_VERSION+$RELEASE
OBS_DIRECTORY=$CURRENT_DIRECTORY/home:VIFIBnexedi:branches:home:VIFIBnexedi/SlapOS-Node OBS_DIRECTORY=$CURRENT_DIRECTORY/home:VIFIBnexedi:branches:home:VIFIBnexedi/SlapOS-Node
...@@ -63,8 +63,8 @@ function prepare_deb_packaging ...@@ -63,8 +63,8 @@ function prepare_deb_packaging
# Add cron and logrotate files # Add cron and logrotate files
cp -R $DEB_DIRECTORY/debian $OBS_DIRECTORY/ cp -R $DEB_DIRECTORY/debian $OBS_DIRECTORY/
cp $CURRENT_DIRECTORY/$SLAPOS_ORGINAL_DIRECTORY/template/slapos-node.cron.d $OBS_DIRECTORY/debian/cron.d cp $CURRENT_DIRECTORY/$SLAPOS_ORIGINAL_DIRECTORY/template/slapos-node.cron.d $OBS_DIRECTORY/debian/cron.d
cp $CURRENT_DIRECTORY/$SLAPOS_ORGINAL_DIRECTORY/template/slapos-node.logrotate $OBS_DIRECTORY/debian/slapos-node.logrotate cp $CURRENT_DIRECTORY/$SLAPOS_ORIGINAL_DIRECTORY/template/slapos-node.logrotate $OBS_DIRECTORY/debian/slapos-node.logrotate
# Create postinst # Create postinst
cat $RE6STNET_SCRIPT >> $OBS_DIRECTORY/debian/postinst.base cat $RE6STNET_SCRIPT >> $OBS_DIRECTORY/debian/postinst.base
...@@ -87,7 +87,7 @@ function obs_upload ...@@ -87,7 +87,7 @@ function obs_upload
osc up osc up
# Remove former configuration # Remove former configuration
osc rm -f $SLAPOS_ORGINAL_DIRECTORY*.tar.gz osc rm -f $SLAPOS_ORIGINAL_DIRECTORY*.tar.gz
osc rm -f slapos.spec osc rm -f slapos.spec
osc rm -f slapos*.dsc osc rm -f slapos*.dsc
...@@ -112,7 +112,7 @@ function obs_upload ...@@ -112,7 +112,7 @@ function obs_upload
# Prepare directory for new version if needed # Prepare directory for new version if needed
if [ ! -d "$CURRENT_DIRECTORY/$SLAPOS_DIRECTORY" ]; then if [ ! -d "$CURRENT_DIRECTORY/$SLAPOS_DIRECTORY" ]; then
cp -r $CURRENT_DIRECTORY/$SLAPOS_ORGINAL_DIRECTORY $CURRENT_DIRECTORY/$SLAPOS_DIRECTORY cp -r $CURRENT_DIRECTORY/$SLAPOS_ORIGINAL_DIRECTORY $CURRENT_DIRECTORY/$SLAPOS_DIRECTORY
fi fi
# Prepare Makefile and offline script # Prepare Makefile and offline script
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment