Add new table JobSenslab so that one slice can
[sfa.git] / sfa / senslab / config / bash_nukem
index 96802a3..c4deedb 100755 (executable)
@@ -15,7 +15,7 @@ if [ -d $1 ]
 then
     git_local_repo=$1
     echo "RESPOSITORY: "  $git_local_repo
-    cd $git_local_repo
+   
 fi
 
 # Set which vm we are working on (sfa-vm or sfa-vm2)
@@ -33,8 +33,10 @@ sudo sfaadmin.py registry nuke
 
 # Drop table in slab_sfa
 # to avoid duplicates.
+psql -d slab_sfa -U sfa -W -q -c "drop table job_senslab;"
 psql -d slab_sfa -U sfa -W -q -c "drop table slice_senslab;"
 
+
 # ATTENTION :Save the config file /etc/sfa/sfa_config
 # before continuing
 
@@ -46,7 +48,7 @@ sudo rm -rf *
 sudo service sfa restart
 
 # Put back the config file that you saved before
-
+cd $git_local_repo
 sudo make clean
 make
 sudo python setup.py install