Some bug fixes
This commit is contained in:
@@ -31,6 +31,7 @@ XTOPDIR=$XDIR/$TARGET_BRANCH
|
||||
find . -maxdepth 1 -type f -name "*.sh" -exec cp {} $XTOPDIR \; >/dev/null
|
||||
find . -maxdepth 1 -type f -name "*.config" -exec cp {} $XTOPDIR \; >/dev/null
|
||||
find . -maxdepth 1 -type f -name "*.json" -exec cp {} $XTOPDIR \; >/dev/null
|
||||
find . -maxdepth 1 -type f -name "*.netports" -exec cp {} $XTOPDIR \; >/dev/null
|
||||
|
||||
echo "Repository '$TARGET_BRANCH' created!"
|
||||
#cd $XTOPDIR
|
||||
|
||||
@@ -28,6 +28,8 @@ if [ "$OPT_FULL_UPDATE" = "true" ]; then
|
||||
fi
|
||||
|
||||
git reset --hard HEAD
|
||||
#git revert HEAD~30..HEAD
|
||||
#git reset --hard HEAD
|
||||
|
||||
git fetch
|
||||
[ "$?" != "0" ] && die "Can't fetch current repository"
|
||||
@@ -83,6 +85,7 @@ if [ "$OPT_FULL_UPDATE" = "true" ]; then
|
||||
fi
|
||||
|
||||
if [ -f "$XDIR/luci_dispatcher.sh" ]; then
|
||||
chmod 755 ./luci_dispatcher.sh
|
||||
./luci_dispatcher.sh
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user